fix(nc-gui): some ui changes

This commit is contained in:
Ramesh Mane
2025-05-17 06:31:46 +00:00
parent e9296a4858
commit e916d35494
9 changed files with 76 additions and 6 deletions

View File

@@ -11,6 +11,8 @@ const route = router.currentRoute
const { t } = useI18n()
const { hideSidebar } = storeToRefs(useSidebarStore())
const { isUIAllowed } = useRoles()
const workspaceStore = useWorkspace()
@@ -101,6 +103,14 @@ watch(
immediate: true,
},
)
onMounted(() => {
hideSidebar.value = true
})
onBeforeUnmount(() => {
hideSidebar.value = false
})
</script>
<template>