Browse Source

fix(nc-gui): open sidebar on smartsheet

pull/3801/head
braks 2 years ago
parent
commit
d7a0278016
  1. 4
      packages/nc-gui/layouts/base.vue
  2. 2
      packages/nc-gui/layouts/default.vue

4
packages/nc-gui/layouts/base.vue

@ -1,8 +1,10 @@
<script lang="ts" setup>
import { computed, navigateTo, ref, useGlobal, useNuxtApp, useRoute } from '#imports'
import { computed, navigateTo, ref, useGlobal, useNuxtApp, useRoute, useSidebar } from '#imports'
const { signOut, signedIn, isLoading, user, currentVersion } = useGlobal()
useSidebar('nc-left-sidebar', { hasSidebar: false })
const route = useRoute()
const email = computed(() => user.value?.email ?? '---')

2
packages/nc-gui/layouts/default.vue

@ -6,7 +6,7 @@ const route = useRoute()
const { te, t } = useI18n()
const { hasSidebar } = useSidebar('nc-left-sidebar', { hasSidebar: false })
const { hasSidebar } = useSidebar('nc-left-sidebar')
useTitle(route.meta?.title && te(route.meta.title) ? `${t(route.meta.title)} | NocoDB` : 'NocoDB')
</script>

Loading…
Cancel
Save