Se añadió el botón de eliminar asignatura, y se borra adecuadamente
This commit is contained in:
@@ -115,7 +115,7 @@ function RouteComponent() {
|
||||
id: role.id,
|
||||
label: role.label,
|
||||
Icon: (Icons as any)[role.icono] || Icons.Cpu, // Icono por defecto si no está definido
|
||||
className: role.nombre_clase || "bg-gray-500 text-white", // Clase por defecto si no está definida
|
||||
className: /* role.nombre_clase || */ "bg-gray-500 text-white", // Clase por defecto si no está definida
|
||||
};
|
||||
return acc;
|
||||
}, {} as Record<string, { id: string; label: string; Icon: React.ComponentType<React.SVGProps<SVGSVGElement>>; className: string }>);
|
||||
|
||||
Reference in New Issue
Block a user