mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-01 21:10:49 +08:00
Fix lock vault from system tray not working (#18323)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
This commit is contained in:
parent
7ccf1263a0
commit
9b5f3a866d
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user