1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

Fix lock vault from system tray not working (#18323)

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
This commit is contained in:
Zhaolin Liang
2026-02-11 16:49:57 +08:00
committed by GitHub
parent 7ccf1263a0
commit 9b5f3a866d

View File

@@ -273,7 +273,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.loading = false;
break;
case "lockVault":
await this.lockService.lock(message.userId);
await this.lockService.lock(message.userId ?? this.activeUserId);
break;
case "lockAllVaults": {
await this.lockService.lockAll();