mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
fix(emergency-access): [PM-29585] Prevent New EA Invitations or Acceptance (#19502)
fix(emergency-access): [PM-29585] Prevent New EA Invitations or Acceptance - Added toast for failure to show error to user. (#19502)
This commit is contained in:
parent
44ef7c1f54
commit
ec17680fa1
@ -128,6 +128,11 @@ export class EmergencyAccessAddEditComponent implements OnInit {
|
||||
});
|
||||
this.dialogRef.close(EmergencyAccessAddEditDialogResult.Saved);
|
||||
} catch (e) {
|
||||
this.toastService.showToast({
|
||||
variant: "error",
|
||||
title: null,
|
||||
message: e.message,
|
||||
});
|
||||
this.logService.error(e);
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user