Specify account to switch to

This commit is contained in:
Matt Gibson 2024-04-25 10:43:27 -04:00
parent 4aef033a81
commit f8b788070a
No known key found for this signature in database
GPG Key ID: 963EE038B0581878
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ export class AppComponent implements OnInit, OnDestroy {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.router.navigate(["login"]);
} else if (preLogoutActiveUserId !== nextUpAccount.id) {
this.messagingService.send("switchAccount");
this.messagingService.send("switchAccount", { userId: nextUpAccount.id });
}
await this.updateAppMenu();