Refactor: Move Roles & Permissions
This commit is contained in:
@@ -87,7 +87,15 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
path: '/dashboard/admin',
|
||||
subItems: [
|
||||
{ icon: BarChart3, label: 'Resumen General', path: '/dashboard/admin?tab=overview' },
|
||||
{ icon: Users, label: 'Usuarios', path: '/dashboard/admin?tab=users' },
|
||||
{
|
||||
icon: Users,
|
||||
label: 'Usuarios',
|
||||
path: '/dashboard/admin?tab=users',
|
||||
subItems: [
|
||||
{ icon: Users, label: 'Lista de Usuarios', path: '/dashboard/admin?tab=users' },
|
||||
{ icon: Shield, label: 'Roles & Permisos', path: '/dashboard/roles-permissions' }
|
||||
]
|
||||
},
|
||||
{ icon: MapPin, label: 'Proveedores', path: '/dashboard/admin?tab=services' },
|
||||
{ icon: DollarSign, label: 'Financiero', path: '/dashboard/admin?tab=financial' },
|
||||
{
|
||||
@@ -119,7 +127,6 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
},
|
||||
{ icon: AlertTriangle, label: 'Emergencias', path: '/dashboard/admin?tab=emergency' },
|
||||
{ icon: MessageSquare, label: 'Soporte', path: '/dashboard/admin?tab=support' },
|
||||
{ icon: Shield, label: 'Roles & Permisos', path: '/dashboard/roles-permissions' },
|
||||
{
|
||||
icon: DollarSign,
|
||||
label: 'Comisiones',
|
||||
|
||||
Reference in New Issue
Block a user