11 lines
428 B
Markdown
11 lines
428 B
Markdown
# 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
|