feat(FIX-157): completed feature

This commit is contained in:
chattie
2026-08-22 17:26:34 +02:00
parent 699dfc6fca
commit 06404fe770
9 changed files with 80 additions and 24 deletions

View File

@@ -0,0 +1,10 @@
# FIX-157 — Architect
## Fix
Reporting sub-items (Dashboard, Ventas, Productos) appeared as separate top-level nav items with leading spaces. They should be nested under /reporting.
## Solution
- Added `parentHref` field to `NavItem` interface
- Added `topNavItems()` and `subNavItems()` helpers
- Sidebar renders sub-items indented under their parent
- `visibleNavItems()` replaced with `topNavItems()` for top-level items