diff --git a/packages/nc-gui/components/smartsheet/sidebar/index.vue b/packages/nc-gui/components/smartsheet/sidebar/index.vue index 54ead7e9e6..3f5a928232 100644 --- a/packages/nc-gui/components/smartsheet/sidebar/index.vue +++ b/packages/nc-gui/components/smartsheet/sidebar/index.vue @@ -35,7 +35,7 @@ const { $e } = useNuxtApp() provide(ViewListInj, views) /** Sidebar visible */ -const { isOpen } = useSidebar('nc-right-sidebar', { useStorage: true, isOpen: true }) +const { isOpen } = useSidebar('nc-right-sidebar', { isOpen: true }) const sidebarCollapsed = computed(() => !isOpen.value) @@ -110,6 +110,7 @@ function onCreate(view: ViewType) { class="relative shadow-md h-full" theme="light" > + {{ isOpen }} /** Sidebar visible */ -const { isOpen, toggle } = useSidebar('nc-right-sidebar', { isOpen: true }) +const { isOpen, toggle } = useSidebar('nc-right-sidebar') const onClick = () => { toggle(!isOpen.value)