1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-23 21:31:29 +01:00

Add await to saveEmailSettings function.

This commit is contained in:
Alec Rippberger 2024-10-09 14:32:50 -05:00
parent 47ce605e77
commit 6d980bfadd
No known key found for this signature in database
GPG Key ID: 9DD8DA583B28154A

View File

@ -385,7 +385,7 @@ export class LoginComponent implements OnInit, OnDestroy {
}
protected async saveEmailSettings(): Promise<void> {
this.loginEmailService.setLoginEmail(this.formGroup.value.email);
await this.loginEmailService.setLoginEmail(this.formGroup.value.email);
this.loginEmailService.setRememberEmail(this.formGroup.value.rememberEmail);
await this.loginEmailService.saveEmailSettings();
}