mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Add await to saveEmailSettings function.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user