[PM-5991] Updated ordering on account switch to route before clearing state (#7797)
This commit is contained in:
parent
d047723f04
commit
aa67190f3c
|
@ -134,9 +134,9 @@ export class AccountSwitcherComponent implements OnInit, OnDestroy {
|
|||
|
||||
async addAccount() {
|
||||
this.close();
|
||||
await this.stateService.setActiveUser(null);
|
||||
await this.stateService.setRememberedEmail(null);
|
||||
await this.router.navigate(["/login"]);
|
||||
await this.stateService.setActiveUser(null);
|
||||
}
|
||||
|
||||
private async createInactiveAccounts(baseAccounts: {
|
||||
|
|
Loading…
Reference in New Issue