mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
Fixes
This commit is contained in:
@@ -50,7 +50,7 @@ export class AuthNavMenuComponent implements OnInit {
|
||||
this.showAuth = this.store.select(routerStateSelector)
|
||||
.filter((router: RouterReducerState) => isNotUndefined(router) && isNotUndefined(router.state))
|
||||
.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