[bug(Account Switching)] Clean state before redirecting on logout
This commit is contained in:
parent
765c880e25
commit
059d9a4e9d
|
@ -74,8 +74,8 @@ export class AppComponent implements OnInit {
|
||||||
text: this.i18nService.t('loginExpired'),
|
text: this.i18nService.t('loginExpired'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.router.navigate(['home']);
|
|
||||||
await this.stateService.clean();
|
await this.stateService.clean();
|
||||||
|
this.router.navigate(['home']);
|
||||||
});
|
});
|
||||||
this.changeDetectorRef.detectChanges();
|
this.changeDetectorRef.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue