Skip to content

Commit f582ada

Browse files
committed
fix time entries incorrectly not updating in calendar
the synced snapDuration cause incorrect noops on updates f.e. 15:55-16:00 on a 15 minute snap
1 parent c60cff0 commit f582ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/packages/ui/src/FullCalendar/TimeEntryCalendar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const calendarOptions = computed(() => {
368368
slotDuration: formatDuration(s.slotMinutes * 60),
369369
slotLabelInterval: '01:00:00',
370370
slotLabelFormat: getSlotLabelFormat(),
371-
snapDuration: formatDuration(s.snapMinutes * 60),
371+
snapDuration: '00:01:00',
372372
firstDay: getFirstDay(),
373373
allDaySlot: false,
374374
nowIndicator: true,

0 commit comments

Comments
 (0)