Fix breadcrumb hierarchy: suppress ops parent, let sections self-identify
The ops parent route had breadcrumb: 'Operations' which prepended 'Operations >' to every child section (Policy, Integrations, Platform Setup, Scanner Ops). But the sidebar treats these as independent top-level sections, not children of Operations. Fix: suppress the ops breadcrumb (set to '') and move 'Operations' breadcrumb to the operations child route. Each section now shows its own breadcrumb independently: - /ops/policy/governance → Policy > Governance - /ops/operations → Operations - /ops/integrations → Integrations - /ops/platform-setup → Platform Setup Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -165,7 +165,7 @@ export const routes: Routes = [
|
||||
path: 'ops',
|
||||
title: 'Operations',
|
||||
canMatch: [requireConfigGuard, requireBackendsReachableGuard, requireAuthGuard, requireOpsGuard],
|
||||
data: { breadcrumb: 'Operations' },
|
||||
data: { breadcrumb: '' },
|
||||
loadChildren: () => import('./routes/ops.routes').then((m) => m.OPS_ROUTES),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ export const OPS_ROUTES: Routes = [
|
||||
{
|
||||
path: 'operations',
|
||||
title: 'Operations',
|
||||
data: { breadcrumb: '' },
|
||||
data: { breadcrumb: 'Operations' },
|
||||
loadChildren: () => import('./operations.routes').then((m) => m.OPERATIONS_ROUTES),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user