autocomit

This commit is contained in:
2026-02-08 10:32:13 +01:00
parent b69ff3965b
commit cc79baeb09
28 changed files with 4163 additions and 4 deletions
+32 -1
View File
@@ -4,13 +4,18 @@ import { authGuard } from './core/guards/auth.guard';
export const routes: Routes = [
{
path: '',
redirectTo: '/business-units',
redirectTo: '/dashboard',
pathMatch: 'full'
},
{
path: 'login',
loadComponent: () => import('./core/auth/login/login.component').then(m => m.LoginComponent)
},
{
path: 'dashboard',
canActivate: [authGuard],
loadComponent: () => import('./features/dashboard/dashboard.component').then(m => m.DashboardComponent)
},
{
path: 'business-units',
canActivate: [authGuard],
@@ -37,6 +42,32 @@ export const routes: Routes = [
}
]
},
{
path: 'applications',
canActivate: [authGuard],
children: [
{
path: '',
loadComponent: () => import('./features/applications/application-list/application-list.component')
.then(m => m.ApplicationListComponent)
},
{
path: 'new',
loadComponent: () => import('./features/applications/application-form/application-form.component')
.then(m => m.ApplicationFormComponent)
},
{
path: ':id',
loadComponent: () => import('./features/applications/application-detail/application-detail.component')
.then(m => m.ApplicationDetailComponent)
},
{
path: ':id/edit',
loadComponent: () => import('./features/applications/application-form/application-form.component')
.then(m => m.ApplicationFormComponent)
}
]
},
{
path: 'environments',
canActivate: [authGuard],