add Breadcrumbs

This commit is contained in:
amentis 2024-07-01 14:58:34 +03:00
parent 6c8cafe592
commit d4058f945b
1 changed files with 6 additions and 2 deletions

View File

@ -193,7 +193,9 @@ const appRoutes: Routes = [
path: 'users', path: 'users',
loadChildren: () => import('./ui/admin/user/user.module').then(m => m.UsersModule), loadChildren: () => import('./ui/admin/user/user.module').then(m => m.UsersModule),
data: { data: {
breadcrumb: true, ...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.USERS'
}),
title: 'GENERAL.TITLES.USERS' title: 'GENERAL.TITLES.USERS'
}, },
}, },
@ -201,7 +203,9 @@ const appRoutes: Routes = [
path: 'tenant-users', path: 'tenant-users',
loadChildren: () => import('./ui/admin/user/user.module').then(m => m.TenantUsersModule), loadChildren: () => import('./ui/admin/user/user.module').then(m => m.TenantUsersModule),
data: { data: {
breadcrumb: true, ...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.TENANT-USERS'
}),
title: 'GENERAL.TITLES.TENANT-USERS' title: 'GENERAL.TITLES.TENANT-USERS'
}, },
}, },