From fc52e73153fb4b5b2c884c8a9441073482d7ac95 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 6 Sep 2025 10:54:18 +0300 Subject: [PATCH] refactor(react/collections/calendar): change event handling --- apps/client/src/widgets/collections/calendar/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/client/src/widgets/collections/calendar/index.tsx b/apps/client/src/widgets/collections/calendar/index.tsx index af027b1ef..354adf36c 100644 --- a/apps/client/src/widgets/collections/calendar/index.tsx +++ b/apps/client/src/widgets/collections/calendar/index.tsx @@ -97,8 +97,6 @@ export default function CalendarView({ note, noteIds }: ViewModeProps { - if (!isCalendarRoot) return; - const eventNote = await date_notes.getDayNote(e.dateStr); if (eventNote) { appContext.triggerCommand("openInPopup", { noteIdOrPath: eventNote.noteId }); @@ -127,7 +125,7 @@ export default function CalendarView({ note, noteIds }: ViewModeProps { if (initialView.current !== view.type) { initialView.current = view.type;