mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
fix linting issues
This commit is contained in:
@@ -19,7 +19,7 @@ export class RouterEffects {
|
||||
map((actions: RouterNavigationAction[]) =>
|
||||
actions.map((navigateAction) => {
|
||||
const urlTree = this.router.parseUrl(navigateAction.payload.routerState.url);
|
||||
return urlTree.root.children['primary'].segments.map(it => it.path).join('/');
|
||||
return urlTree.root.children.primary.segments.map((it) => it.path).join('/');
|
||||
})),
|
||||
filter((actions: string[]) => actions[0] !== actions[1]),
|
||||
map(() => new RouteUpdateAction())
|
||||
|
Reference in New Issue
Block a user