mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
[CST-11178]CST-11179] small fix
This commit is contained in:

committed by
Mykhaylo Boychuk

parent
c50dd72d92
commit
f76e224626
@@ -241,7 +241,8 @@ import { ThemedPageErrorComponent } from './page-error/themed-page-error.compone
|
||||
{
|
||||
path: 'items',
|
||||
loadChildren: () => import('./shared/correction-suggestion/correction-suggestion.module')
|
||||
.then((m) => m.CorrectionSuggestionModule)
|
||||
.then((m) => m.CorrectionSuggestionModule),
|
||||
canActivate: [AuthenticatedGuard]
|
||||
},
|
||||
]
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { AuthenticatedGuard } from './../../core/auth/authenticated.guard';
|
||||
import { ItemBreadcrumbResolver } from './../../core/breadcrumbs/item-breadcrumb.resolver';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
@@ -10,8 +9,7 @@ const routes: Routes = [
|
||||
component: CorrectionSuggestionComponent,
|
||||
resolve: {
|
||||
breadcrumb: ItemBreadcrumbResolver,
|
||||
},
|
||||
canActivate: [AuthenticatedGuard]
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user