Browse Source

fix(nc-gui): set `hasSidebar` when navigating to project

pull/3678/head
braks 2 years ago
parent
commit
8540f7a647
  1. 4
      packages/nc-gui/pages/[projectType]/[projectId]/index.vue

4
packages/nc-gui/pages/[projectType]/[projectId]/index.vue

@ -49,7 +49,7 @@ const isLocked = ref(false)
provide('TreeViewIsLockedInj', isLocked)
// create a new sidebar state
const { isOpen, toggle } = useSidebar('nc-left-sidebar', { isOpen: true })
const { isOpen, toggle } = useSidebar('nc-left-sidebar', { hasSidebar: true, isOpen: true })
const dialogOpen = ref(false)
@ -465,7 +465,7 @@ onBeforeUnmount(reset)
</a-layout-sider>
</template>
<div :key="$route.fullPath">
<div>
<dashboard-settings-modal v-model="dialogOpen" :open-key="openDialogKey" />
<NuxtPage />

Loading…
Cancel
Save