1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-23 08:30:14 +01:00

[PM-3572] Fix timeout action value load on init (#6620)

This commit is contained in:
André Bispo 2023-10-25 15:21:40 +01:00 committed by GitHub
parent 057aa6e309
commit ae5f8879c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ export class SettingsComponent implements OnInit {
await this.vaultTimeoutSettingsService.setVaultTimeoutOptions(
newValue,
this.form.value.vaultTimeoutAction
await firstValueFrom(this.vaultTimeoutSettingsService.vaultTimeoutAction$())
);
if (newValue == null) {
this.messagingService.send("bgReseedStorage");