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:
@@ -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));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user