diff --git a/packages/nc-gui/store/sidebar.ts b/packages/nc-gui/store/sidebar.ts index 0603ceb76e..9bad365ce1 100644 --- a/packages/nc-gui/store/sidebar.ts +++ b/packages/nc-gui/store/sidebar.ts @@ -12,7 +12,7 @@ export const useSidebarStore = defineStore('sidebarStore', () => { const _isLeftSidebarOpen = ref(!isViewPortMobile()) const isLeftSidebarOpen = computed({ get() { - return (isMobileMode && !tablesStore.activeTableId) || _isLeftSidebarOpen.value + return (isMobileMode.value && !tablesStore.activeTableId) || _isLeftSidebarOpen.value }, set(value) { _isLeftSidebarOpen.value = value