Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12 Chore: Upgrade to psycopg3
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
import { authGuard } from '../auth/auth-guard.service';
|
||||
|
||||
import { HeaderFooterComponent } from './header-footer.component';
|
||||
import { headerFooterResolver } from './header-footer.resolver';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: HeaderFooterComponent,
|
||||
canActivate: [authGuard],
|
||||
data: {
|
||||
permission: 'Owner',
|
||||
},
|
||||
resolve: {
|
||||
list: headerFooterResolver,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
component: HeaderFooterComponent,
|
||||
canActivate: [authGuard],
|
||||
data: {
|
||||
permission: 'Owner',
|
||||
},
|
||||
resolve: {
|
||||
list: headerFooterResolver,
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user