diff --git a/apps/portal/pages/admin/scheduling.vue b/apps/portal/pages/admin/scheduling.vue index ba4125d..7215ea8 100644 --- a/apps/portal/pages/admin/scheduling.vue +++ b/apps/portal/pages/admin/scheduling.vue @@ -25,6 +25,7 @@ interface EventType { maximumDaysInFuture: number availabilityScheduleId: string locationType: string + ignoreAllDayEvents: boolean isActive: boolean } interface MinuteInterval { startMinute: number; endMinute: number } @@ -258,6 +259,7 @@ const etForm = reactive({ maximumDaysInFuture: 60, availabilityScheduleId: '', locationType: 'jitsi', + ignoreAllDayEvents: true, }) const etEditingId = ref(null) const etSlugTouched = ref(false) @@ -271,7 +273,7 @@ function openEt(et?: EventType) { slotIntervalMinutes: et.slotIntervalMinutes, bufferBeforeMinutes: et.bufferBeforeMinutes, bufferAfterMinutes: et.bufferAfterMinutes, minimumNoticeMinutes: et.minimumNoticeMinutes, maximumDaysInFuture: et.maximumDaysInFuture, availabilityScheduleId: et.availabilityScheduleId, - locationType: et.locationType, + locationType: et.locationType, ignoreAllDayEvents: et.ignoreAllDayEvents ?? true, }) etSlugTouched.value = true // don't auto-rewrite an existing slug } else { @@ -280,6 +282,7 @@ function openEt(et?: EventType) { title: '', slug: '', durationMinutes: 30, slotIntervalMinutes: 15, bufferBeforeMinutes: 0, bufferAfterMinutes: 0, minimumNoticeMinutes: 60, maximumDaysInFuture: 60, availabilityScheduleId: availability.value[0]?._id ?? '', locationType: 'jitsi', + ignoreAllDayEvents: true, }) etSlugTouched.value = false } @@ -608,6 +611,10 @@ const detailTabs = computed(() => [ +