From ba8d1eb780d2e69d60c6690168b8673c361823e7 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:15:43 +0000 Subject: [PATCH] fix(nc-gui): hide calendar view components for mobile view --- packages/nc-gui/components/smartsheet/calendar/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/calendar/index.vue b/packages/nc-gui/components/smartsheet/calendar/index.vue index 2705701093..6df3d13843 100644 --- a/packages/nc-gui/components/smartsheet/calendar/index.vue +++ b/packages/nc-gui/components/smartsheet/calendar/index.vue @@ -19,6 +19,8 @@ const meta = inject(MetaInj, ref()) const view = inject(ActiveViewInj, ref()) +const { isMobileMode } = useGlobal() + const {t} = useI18n() provide(IsFormInj, ref(false)) @@ -60,14 +62,14 @@ const expandRecord = (id: string) => { - + - +