[bug(Account Switching)] Clean state before redirecting on logout

This commit is contained in:
addison 2021-12-16 12:00:30 -05:00
parent 765c880e25
commit 059d9a4e9d
1 changed files with 1 additions and 1 deletions

View File

@ -74,8 +74,8 @@ export class AppComponent implements OnInit {
text: this.i18nService.t('loginExpired'),
});
}
this.router.navigate(['home']);
await this.stateService.clean();
this.router.navigate(['home']);
});
this.changeDetectorRef.detectChanges();
});