[bug] await the vault timeout dropdown change event
This commit is contained in:
parent
693e1e76b5
commit
6da6e46900
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue