From 5ede6ee764f0128ad5c736c2f1bccaa26edc3e19 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 15 Sep 2022 13:07:55 +0200 Subject: [PATCH] chore(nc-gui): remove unnecessary opts --- packages/nc-gui/components/smartsheet/sidebar/index.vue | 3 ++- .../components/smartsheet/sidebar/toolbar/ToggleDrawer.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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)