diff --git a/apps/desktop/src/app/app.component.ts b/apps/desktop/src/app/app.component.ts index e4fdd17dc1..9c02415eb4 100644 --- a/apps/desktop/src/app/app.component.ts +++ b/apps/desktop/src/app/app.component.ts @@ -212,9 +212,11 @@ export class AppComponent implements OnInit, OnDestroy { this.loading = message.userId == null || message.userId === this.activeUserId; await this.logOut(message.logoutReason, message.userId); this.loading = false; + this.messagingService.send("loggedOut"); break; case "lockVault": await this.vaultTimeoutService.lock(message.userId); + this.messagingService.send("locked", { userId: message.userId }); break; case "lockAllVaults": { const currentUser = await firstValueFrom( @@ -229,6 +231,7 @@ export class AppComponent implements OnInit, OnDestroy { await this.vaultTimeoutService.lock(account); } + this.messagingService.send("locked"); break; } case "locked":