diff --git a/src/app/common/base.people.component.ts b/src/app/common/base.people.component.ts index c38ac0d2946..9ce01ea2216 100644 --- a/src/app/common/base.people.component.ts +++ b/src/app/common/base.people.component.ts @@ -253,11 +253,10 @@ export abstract class BasePeopleComponent { try { - await confirmUser(publicKey); + comp.formPromise = confirmUser(publicKey); + await comp.formPromise; modal.close(); - } catch (e) { - this.logService.error(`Handled exception: ${e}`); - } + } catch { } }); }); return; diff --git a/src/app/organizations/manage/user-confirm.component.html b/src/app/organizations/manage/user-confirm.component.html index d27bc927dbd..289c33f8447 100644 --- a/src/app/organizations/manage/user-confirm.component.html +++ b/src/app/organizations/manage/user-confirm.component.html @@ -1,6 +1,6 @@