Implementación AnomalIA - Fix de dropdowns y permisos.
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s
This commit is contained in:
@@ -76,6 +76,9 @@ import GestionarNovedadesCanillaPage from '../pages/Distribucion/GestionarNoveda
|
||||
import ReporteNovedadesCanillasPage from '../pages/Reportes/ReporteNovedadesCanillasPage';
|
||||
import ReporteListadoDistMensualPage from '../pages/Reportes/ReporteListadoDistMensualPage';
|
||||
|
||||
// Anonalías
|
||||
import AlertasPage from '../pages/Anomalia/AlertasPage';
|
||||
|
||||
// Auditorias
|
||||
import GestionarAuditoriaUsuariosPage from '../pages/Usuarios/Auditoria/GestionarAuditoriaUsuariosPage';
|
||||
import AuditoriaGeneralPage from '../pages/Auditoria/AuditoriaGeneralPage';
|
||||
@@ -130,6 +133,19 @@ const AppRoutes = () => {
|
||||
{/* Rutas hijas que se renderizarán en el Outlet de MainLayoutWrapper */}
|
||||
<Route index element={<HomePage />} /> {/* Para la ruta exacta "/" */}
|
||||
|
||||
{/* Módulo de Anomalías */}
|
||||
<Route
|
||||
path="anomalias"
|
||||
element={
|
||||
<SectionProtectedRoute requiredPermission="AL001" sectionName="Anomalías">
|
||||
<Outlet />
|
||||
</SectionProtectedRoute>
|
||||
}
|
||||
>
|
||||
<Route index element={<Navigate to="alertas" replace />} />
|
||||
<Route path="alertas" element={<AlertasPage />} />
|
||||
</Route>
|
||||
|
||||
{/* Módulo de Distribución (anidado) */}
|
||||
<Route
|
||||
path="distribucion"
|
||||
|
||||
Reference in New Issue
Block a user