1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Fix changed lock method signature (#3378)

This commit is contained in:
Daniel James Smith
2022-08-26 05:04:54 +02:00
committed by GitHub
parent 90137936fa
commit f4b2fc6d54

View File

@@ -170,12 +170,12 @@ export class AppComponent implements OnInit, OnDestroy {
this.loading = false; this.loading = false;
break; break;
case "lockVault": case "lockVault":
await this.vaultTimeoutService.lock(true, message.userId); await this.vaultTimeoutService.lock(message.userId);
break; break;
case "lockAllVaults": case "lockAllVaults":
for (const userId in this.stateService.accounts.getValue()) { for (const userId in this.stateService.accounts.getValue()) {
if (userId != null) { if (userId != null) {
await this.vaultTimeoutService.lock(true, userId); await this.vaultTimeoutService.lock(userId);
} }
} }
break; break;
@@ -593,7 +593,7 @@ export class AppComponent implements OnInit, OnDestroy {
if (options[0] === timeout) { if (options[0] === timeout) {
options[1] === "logOut" options[1] === "logOut"
? this.logOut(false, userId) ? this.logOut(false, userId)
: await this.vaultTimeoutService.lock(true, userId); : await this.vaultTimeoutService.lock(userId);
} }
} }
} }