From edd6c5e85372c3ed495fe90822b22a168a04e3eb Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 28 Jul 2022 01:20:51 +0200 Subject: [PATCH] chore(gui-v2): rename sidebarOpen to sidebarCollapsed in app.vue --- packages/nc-gui-v2/app.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index 228df2edcf..f9ce2ee6ed 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -19,13 +19,13 @@ const signOut = () => { navigateTo('/signin') } -const sidebarOpen = computed({ +const sidebarCollapsed = computed({ get: () => !$state.sidebarOpen.value, set: (val) => ($state.sidebarOpen.value = !val), }) const toggleSidebar = () => { - sidebarOpen.value = !sidebarOpen.value + sidebarCollapsed.value = !sidebarCollapsed.value } @@ -84,7 +84,7 @@ const toggleSidebar = () => {