diff --git a/packages/nc-gui/components/dlg/ViewCreate.vue b/packages/nc-gui/components/dlg/ViewCreate.vue index 38fc6dfd7e..9de6d7d4d4 100644 --- a/packages/nc-gui/components/dlg/ViewCreate.vue +++ b/packages/nc-gui/components/dlg/ViewCreate.vue @@ -1037,13 +1037,14 @@ const getPluralName = (name: string) => { - - {{ $t('activity.endDate') }} +
+ + {{ $t('activity.endDate') }} +
diff --git a/packages/nc-gui/composables/useCalendarViewStore.ts b/packages/nc-gui/composables/useCalendarViewStore.ts index 246d1a6d4f..063d1b4b95 100644 --- a/packages/nc-gui/composables/useCalendarViewStore.ts +++ b/packages/nc-gui/composables/useCalendarViewStore.ts @@ -847,11 +847,10 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState( watch(activeCalendarView, async (value, oldValue) => { if (oldValue === 'week') { pageDate.value = selectedDate.value - selectedMonth.value = selectedTime.value ?? selectedDate.value ?? selectedDateRange.value.start - selectedDate.value = selectedTime.value ?? selectedDateRange.value.start + selectedMonth.value = selectedDate.value ?? selectedDateRange.value.start + selectedDate.value = selectedDate.value ?? selectedDateRange.value.start selectedTime.value = selectedDate.value ?? selectedDateRange.value.start } else if (oldValue === 'month') { - selectedDate.value = selectedMonth.value pageDate.value = selectedDate.value selectedTime.value = selectedDate.value selectedDateRange.value = { diff --git a/packages/nc-gui/lib/types.ts b/packages/nc-gui/lib/types.ts index 984fd354a5..78013222cd 100644 --- a/packages/nc-gui/lib/types.ts +++ b/packages/nc-gui/lib/types.ts @@ -103,6 +103,7 @@ interface Row { numberOfOverlaps?: number minutes?: number recordIndex?: number // For week spanning records in month view + maxSpanning?: number } }