1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-19 10:54:00 +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 jaasen-livefront
parent ad0ac67bfd
commit 3d2a123a81

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();