mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:46:59 +00:00
fix(nc-gui): hide open sidebar btn from non new sidebar pages
This commit is contained in:
@@ -3,7 +3,7 @@ import { useTitle } from '@vueuse/core'
|
||||
|
||||
const { isUIAllowed } = useRoles()
|
||||
|
||||
const { hideSidebar } = storeToRefs(useSidebarStore())
|
||||
const { hideSidebar, isNewSidebarEnabled } = storeToRefs(useSidebarStore())
|
||||
|
||||
const workspaceStore = useWorkspace()
|
||||
|
||||
@@ -52,7 +52,7 @@ onBeforeMount(() => {
|
||||
<template>
|
||||
<div v-if="currentWorkspace" class="flex w-full flex-col nc-workspace-integrations">
|
||||
<div class="flex gap-2 items-center min-w-0 p-2 h-[var(--topbar-height)] border-b-1 border-gray-200">
|
||||
<GeneralOpenLeftSidebarBtn />
|
||||
<GeneralOpenLeftSidebarBtn v-if="!isNewSidebarEnabled" />
|
||||
|
||||
<div class="flex-1 nc-breadcrumb nc-no-negative-margin pl-1">
|
||||
<div class="nc-breadcrumb-item capitalize">
|
||||
|
||||
Reference in New Issue
Block a user