fix(nc-gui): hide open sidebar btn from non new sidebar pages

This commit is contained in:
Ramesh Mane
2025-05-17 06:31:46 +00:00
parent e916d35494
commit ef8dcbf5f1
3 changed files with 5 additions and 5 deletions

View File

@@ -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">