[ADF-5462] - fixed logout redirect on other tabs (#7245)

This commit is contained in:
Vito
2021-09-13 14:05:19 +01:00
committed by GitHub
parent 3f44e2e649
commit d2910ab078

View File

@@ -60,7 +60,7 @@ export class AuthGuard extends AuthGuardBase {
} }
private ticketChangeRedirect(event: StorageEvent) { private ticketChangeRedirect(event: StorageEvent) {
if (!event.newValue) { if (event.newValue) {
this.navigate(this.router.url); this.navigate(this.router.url);
} else { } else {
window.location.reload(); window.location.reload();