From ad83728ea5602454edd0a83428b8ebd871627cb4 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 27 Jul 2022 19:29:48 +0200 Subject: [PATCH] fix(gui-v2): signout in smartsheet page fails --- packages/nc-gui-v2/app.vue | 10 ++--- packages/nc-gui-v2/composables/useTabs.ts | 45 ++++++++++--------- .../nc-gui-v2/composables/useViewColumns.ts | 6 ++- 3 files changed, 35 insertions(+), 26 deletions(-) diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index 435c4f9bff..228df2edcf 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -23,16 +23,16 @@ const sidebarOpen = computed({ get: () => !$state.sidebarOpen.value, set: (val) => ($state.sidebarOpen.value = !val), }) + +const toggleSidebar = () => { + sidebarOpen.value = !sidebarOpen.value +}