feat(F-195): completed feature
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user