diff --git a/apps/client/src/widgets/collections/calendar/index.tsx b/apps/client/src/widgets/collections/calendar/index.tsx index f7e61a541..39b9ad6bb 100644 --- a/apps/client/src/widgets/collections/calendar/index.tsx +++ b/apps/client/src/widgets/collections/calendar/index.tsx @@ -117,7 +117,10 @@ export default function CalendarView({ note, noteIds }: ViewModeProps noteIds.includes(noteId)) // note title change. || loadResults.getAttributeRows().some((a) => noteIds.includes(a.noteId ?? ""))) // subnote change. { - calendarRef.current?.refetchEvents(); + // Defer execution after the load results are processed so that the event builder has the updated data to work with. + setTimeout(() => { + calendarRef.current?.refetchEvents(); + }, 0); } });