mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
Use api action directive for confirm action (#1153)
This commit is contained in:
@@ -253,11 +253,10 @@ export abstract class BasePeopleComponent<UserType extends ProviderUserUserDetai
|
||||
comp.publicKey = publicKey;
|
||||
comp.onConfirmedUser.subscribe(async () => {
|
||||
try {
|
||||
await confirmUser(publicKey);
|
||||
comp.formPromise = confirmUser(publicKey);
|
||||
await comp.formPromise;
|
||||
modal.close();
|
||||
} catch (e) {
|
||||
this.logService.error(`Handled exception: ${e}`);
|
||||
}
|
||||
} catch { }
|
||||
});
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user