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:
parent
47ce605e77
commit
6d980bfadd
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user