Chore: Check for deprecations using eslint plugin
Chore: environment file replacement stopped. Chore: All components are now standalone and removed all modules Chore: App routing is now in app.routes and similarly for all submodules Chore: Http interceptors are now functional and split refresh interceptor into a separate one.
This commit is contained in:
1 parent
b6bb3dbcfd
commit
4571b31fc0
309 files changed
+3897
-5222
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
import { authGuard } from '../auth/auth-guard.service';
|
||||
|
||||
import { PurchaseEntriesComponent } from './purchase-entries.component';
|
||||
import { purchaseEntriesResolver } from './purchase-entries.resolver';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: PurchaseEntriesComponent,
|
||||
canActivate: [authGuard],
|
||||
data: {
|
||||
permission: 'Purchase Entries',
|
||||
},
|
||||
resolve: {
|
||||
info: purchaseEntriesResolver,
|
||||
},
|
||||
runGuardsAndResolvers: 'always',
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user