mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts: # src/app/core/auth/auth.interceptor.ts # src/app/shared/auth-nav-menu/auth-nav-menu.component.html # src/app/shared/shared.module.ts
This commit is contained in:
@@ -72,7 +72,8 @@ export class AuthService {
|
||||
// and is not the login route, clear redirect url and messages
|
||||
const routeUrl$ = this.store.pipe(
|
||||
select(routerStateSelector),
|
||||
filter((routerState: RouterReducerState) => isNotUndefined(routerState) && isNotUndefined(routerState.state)),
|
||||
filter((routerState: RouterReducerState) => isNotUndefined(routerState)
|
||||
&& isNotUndefined(routerState.state) && isNotEmpty(routerState.state.url)),
|
||||
filter((routerState: RouterReducerState) => !this.isLoginRoute(routerState.state.url)),
|
||||
map((routerState: RouterReducerState) => routerState.state.url)
|
||||
);
|
||||
|
Reference in New Issue
Block a user