mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
Fixes
This commit is contained in:
@@ -50,7 +50,7 @@ export class AuthNavMenuComponent implements OnInit {
|
|||||||
this.showAuth = this.store.select(routerStateSelector)
|
this.showAuth = this.store.select(routerStateSelector)
|
||||||
.filter((router: RouterReducerState) => isNotUndefined(router) && isNotUndefined(router.state))
|
.filter((router: RouterReducerState) => isNotUndefined(router) && isNotUndefined(router.state))
|
||||||
.map((router: RouterReducerState) => {
|
.map((router: RouterReducerState) => {
|
||||||
return router.state.url !== LOGIN_ROUTE && router.state.url !== LOGOUT_ROUTE;
|
return !router.state.url.startsWith(LOGIN_ROUTE) && !router.state.url.startsWith(LOGOUT_ROUTE);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user