feat(admin): implement live audit history and department tasks management system
This commit is contained in:
1 parent
5590281bd4
commit
d13ce5cbc2
10 files changed
+1272
-66
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import type { ComponentType } from 'react';
|
||||
import { createBrowserRouter,Navigate } from 'react-router-dom';
|
||||
import { createBrowserRouter, Navigate } from 'react-router-dom';
|
||||
import Layout from '../components/Layout';
|
||||
import ProtectedRoute from '../components/ProtectedRoute';
|
||||
import { RouteErrorBoundary } from '../components/RouteErrorBoundary';
|
||||
@@ -47,8 +47,8 @@ const FAQManager = lazyWithRetry(() => import('../pages/FAQManager'));
|
||||
const MenuManager = lazyWithRetry(() => import('../pages/MenuManager'));
|
||||
const MonitoringPage = lazyWithRetry(() => import('../pages/MonitoringPage'));
|
||||
const ApprovalsPage = lazyWithRetry(() => import('../pages/ApprovalsPage'));
|
||||
|
||||
|
||||
const AuditHistoryPage = lazyWithRetry(() => import('../pages/AuditHistoryPage'));
|
||||
const TasksManagementPage = lazyWithRetry(() => import('../pages/TasksManagementPage'));
|
||||
|
||||
export interface AdminRouteConfig {
|
||||
path: string;
|
||||
@@ -111,10 +111,10 @@ export const router = createBrowserRouter([
|
||||
{ path: 'menu/*', element: <MenuManager /> },
|
||||
{ path: 'monitoring/*', element: <MonitoringPage /> },
|
||||
{ path: 'approvals/*', element: <ApprovalsPage /> },
|
||||
|
||||
{ path: 'history/*', element: <AuditHistoryPage /> },
|
||||
{ path: 'tasks/*', element: <TasksManagementPage /> },
|
||||
],
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user