Browse Source

fix: Sidebar collapse bug fix

pull/6653/head
Muhammed Mustafa 1 year ago
parent
commit
fd5d47fdb0
  1. 2
      packages/nc-gui/store/sidebar.ts

2
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

Loading…
Cancel
Save