1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

Fix linting errors (#749)

* Fix linting errors

* Added back the form promise
This commit is contained in:
Oscar Hinton
2020-12-22 17:28:58 +01:00
committed by GitHub
parent 3c5a972bc9
commit 5a76ca4676
5 changed files with 7 additions and 4 deletions

View File

@@ -130,7 +130,9 @@ export class EmergencyAccessComponent implements OnInit {
childComponent.onConfirmed.subscribe(async () => {
this.modal.close();
await this.doConfirmation(contact);
childComponent.formPromise = this.doConfirmation(contact);
await childComponent.formPromise;
updateUser();
this.toasterService.popAsync('success', null, this.i18nService.t('hasBeenConfirmed', contact.name || contact.email));
});