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:
master
2026-03-28 20:55:27 +02:00
parent 3da2861f9e
commit 302de9bf46
2 changed files with 2 additions and 2 deletions

View File

@@ -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),
},
{

View File

@@ -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),
},
{