diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index e2164852f5..d7c8c12b19 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -16,7 +16,7 @@ const signOut = () => { const toggleSidebar = useToggle($state.sidebarOpen) const sidebarOpen = computed({ - get: () => !($state.sidebarOpen.value ?? true), + get: () => !$state.sidebarOpen.value, set: (val) => toggleSidebar(val), }) @@ -87,7 +87,7 @@ const sidebarOpen = computed({ () diff --git a/packages/nc-gui-v2/pages/signin.vue b/packages/nc-gui-v2/pages/signin.vue index b5c3fa084b..9f69bca447 100644 --- a/packages/nc-gui-v2/pages/signin.vue +++ b/packages/nc-gui-v2/pages/signin.vue @@ -30,8 +30,6 @@ let error = $ref(null) const valid = ref() -const formValidator = ref() - const form = reactive({ email: '', password: '', @@ -71,11 +69,11 @@ const resetError = () => {