fix: add docs menu in mini sidebar

This commit is contained in:
Ramesh Mane
2026-03-07 08:04:37 +00:00
committed by mertmit
parent 96bfc85321
commit ebcd6803e2
3 changed files with 25 additions and 1 deletions

View File

@@ -94,6 +94,8 @@ const onTabClick = async (tabKey: string) => {
if (tabKey === 'workflows') {
await navigateTo(`${basePath}/workflows`)
} else if (tabKey === 'docs') {
await navigateTo(`${basePath}/docs`)
} else {
await navigateTo(basePath)
}
@@ -158,6 +160,15 @@ const mainItems = computed<NavItem[]>(() => [
},
...(isEeUI && !isMobileMode.value
? [
{
key: 'docs',
icon: 'ncFileText',
label: 'Docs',
disabled: !hasAvailableBases.value,
onClick: () => {
onTabClick('docs')
},
},
{
key: 'workflows',
icon: 'ncAutomation',