diff --git a/src/app/+item-page/item-page-routing.module.ts b/src/app/+item-page/item-page-routing.module.ts index 686c5ff2fc..5caf0e3036 100644 --- a/src/app/+item-page/item-page-routing.module.ts +++ b/src/app/+item-page/item-page-routing.module.ts @@ -30,6 +30,7 @@ const ITEM_EDIT_PATH = 'edit'; item: ItemPageResolver, breadcrumb: ItemBreadcrumbResolver }, + runGuardsAndResolvers: 'always', children: [ { path: '', diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 854a86b798..ddd3cb606d 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -67,7 +67,10 @@ export function getDSOPath(dso: DSpaceObject): string { { path: 'workspaceitems', loadChildren: './+workspaceitems-edit-page/workspaceitems-edit-page.module#WorkspaceitemsEditPageModule' }, { path: 'workflowitems', loadChildren: './+workflowitems-edit-page/workflowitems-edit-page.module#WorkflowItemsEditPageModule' }, { path: '**', pathMatch: 'full', component: PageNotFoundComponent }, - ]) + ], + { + onSameUrlNavigation: 'reload', + }) ], exports: [RouterModule], })