diff --git a/apps/backoffice/src/app/layouts/components/AppSidebar.tsx b/apps/backoffice/src/app/layouts/components/AppSidebar.tsx index b2d4ce8ae..8fad4d7db 100644 --- a/apps/backoffice/src/app/layouts/components/AppSidebar.tsx +++ b/apps/backoffice/src/app/layouts/components/AppSidebar.tsx @@ -9,7 +9,7 @@ import { useNavigate, useLocation } from 'react-router-dom'; const NAV_ITEMS = [ { label: 'Dashboard', icon: IconLayoutDashboard, path: '/dashboard' }, - { label: 'User Management', icon: IconUsers, path: '/um' }, + { label: 'User Management', icon: IconUsers, path: '/um/user-management/dashboard' }, ]; export function AppSidebar() { diff --git a/apps/backoffice/src/app/router/index.tsx b/apps/backoffice/src/app/router/index.tsx index 213736f64..b145d02fd 100644 --- a/apps/backoffice/src/app/router/index.tsx +++ b/apps/backoffice/src/app/router/index.tsx @@ -15,15 +15,6 @@ import { ProtectedRoute } from './ProtectedRoute'; import { DashboardPage } from '../features/dashboard/pages/DashboardPage'; import UserManagementHostPage from '../features/user-management-host/UserManagementHostPage'; -/** Wraps the authenticated area in the IAM provider stack. */ -function IamShell() { - return ( - - - - ); -} - const router = createBrowserRouter([ { element: , @@ -33,22 +24,17 @@ const router = createBrowserRouter([ { path: '/otp-verify', element: }, ], }, + { path: '/um/*', element: }, { element: , children: [ { - element: , + element: , children: [ - { - element: , - children: [ - { index: true, element: }, - { path: 'dashboard', element: }, - ], - }, - // User-management module runs full-screen (its own chrome), outside the shell. - { path: 'um/*', element: }, + { index: true, element: }, + { path: 'dashboard', element: }, ], + }, ], }, diff --git a/user-management b/user-management index 5b6a377fa..1e1481f47 160000 --- a/user-management +++ b/user-management @@ -1 +1 @@ -Subproject commit 5b6a377fa2d92dab34b3df8362364e38cc3230be +Subproject commit 1e1481f475d4d45c4472e54719dc1502e0212973