From 18fdf80b220d2a61d53b92d99d1361c9ea7ccfe1 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Fri, 30 Aug 2024 22:23:26 +0530 Subject: [PATCH] fix: add some docs to calendar code --- .../components/smartsheet/calendar/index.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/calendar/index.vue b/packages/nc-gui/components/smartsheet/calendar/index.vue index 59a4a809b8..aebc3bc2eb 100644 --- a/packages/nc-gui/components/smartsheet/calendar/index.vue +++ b/packages/nc-gui/components/smartsheet/calendar/index.vue @@ -27,16 +27,16 @@ provide(IsKanbanInj, ref(false)) provide(IsCalendarInj, ref(true)) const { - activeCalendarView, - calendarRange, - calDataType, - loadCalendarMeta, - loadCalendarData, - loadSidebarData, - isCalendarDataLoading, - isCalendarMetaLoading, - fetchActiveDates, - showSideMenu, + activeCalendarView, // The active Calendar View - "week" | "day" | "month" | "year" + calendarRange, // calendar Ranges + calDataType, // Calendar Data Type + loadCalendarMeta, // Function to load Calendar Meta + loadCalendarData, // Function to load Calendar Data + loadSidebarData, // Function to load Sidebar Data + isCalendarDataLoading, // Boolean ref to check if Calendar Data is Loading + isCalendarMetaLoading, // Boolean ref to check if Calendar Meta is Loading + fetchActiveDates, // Function to fetch Active Dates + showSideMenu, // Boolean Ref to show Side Menu } = useCalendarViewStoreOrThrow() const router = useRouter()