[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
1 changed files with 1 additions and 1 deletions

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");