feat(F-195): completed feature

This commit is contained in:
chattie
2026-08-22 22:36:05 +02:00
parent b85670cb51
commit c5e5b4c48c
9 changed files with 45 additions and 1 deletions

View File

@@ -56,6 +56,14 @@ export const NAV_ITEMS: NavItem[] = [
{ href: '/cms', label: 'CMS', icon: '📄', permission: 'cms.read' },
{ href: '/users', label: 'Usuarios', icon: '🔐', permission: 'admin-users.read' },
{ href: '/settings', label: 'Ajustes', icon: '⚙️', permission: 'dashboard' },
];
/**
* Sub-pages rendered inside the Settings sidebar.
* They are intentionally NOT in NAV_ITEMS — they only appear when the user
* navigates to /settings (or one of its sub-routes) via the in-page links.
*/
export const SETTINGS_SUB_NAV_ITEMS: NavItem[] = [
{ href: '/settings/tax-rates', label: 'IVA', icon: '💰', permission: 'orders.read' },
{ href: '/settings/audit', label: 'Auditoría', icon: '📋', permission: 'audit.read' },
{ href: '/settings/logs', label: 'Logs', icon: '🖥️', permission: 'audit.read' },