Se añadió el botón de eliminar asignatura, y se borra adecuadamente

This commit is contained in:
2025-10-21 17:05:45 -06:00
parent ce2cd6b397
commit d491100c73
5 changed files with 62 additions and 13 deletions

View File

@@ -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 }>);