mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[bug] await the vault timeout dropdown change event
This commit is contained in:
@@ -104,8 +104,8 @@ export class SettingsComponent implements OnInit {
|
||||
this.vaultTimeout.setValue(timeout);
|
||||
}
|
||||
this.previousVaultTimeout = this.vaultTimeout.value;
|
||||
this.vaultTimeout.valueChanges.subscribe((value) => {
|
||||
this.saveVaultTimeout(value);
|
||||
this.vaultTimeout.valueChanges.subscribe(async (value) => {
|
||||
await this.saveVaultTimeout(value);
|
||||
});
|
||||
|
||||
const action = await this.stateService.getVaultTimeoutAction();
|
||||
|
||||
Reference in New Issue
Block a user