|
|
@ -153,7 +153,7 @@ export class LayoutApplicationComponent implements AfterViewInit, OnDestroy { |
|
|
logout() { |
|
|
logout() { |
|
|
this.oauthService.logOut(); |
|
|
this.oauthService.logOut(); |
|
|
this.store.dispatch( |
|
|
this.store.dispatch( |
|
|
new Navigate(['/account/login'], null, { |
|
|
new Navigate(['/'], null, { |
|
|
state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, |
|
|
state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, |
|
|
}), |
|
|
}), |
|
|
); |
|
|
); |
|
|
|