691 B
691 B
F-195 — Fix evidence
Issue: After F-194, IVA / Auditoría / Logs still appeared as top-level items in the main admin sidebar because their entries remained in NAV_ITEMS.
Change (project/apps/admin/src/lib/permissions.ts):
- Removed
IVA,Auditoría,Logsentries fromNAV_ITEMS. They no longer appear in the main sidebar. - Added
SETTINGS_SUB_NAV_ITEMSconstant exposing the same routes so they can be consumed by the Settings sub-nav (already implemented in F-194 insettings/page.tsx). - Routes (
/settings/tax-rates,/settings/audit,/settings/logs) remain accessible via in-page links from the Settings sidebar.
Validation:
- admin typecheck: PASS