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:
Patrick-Pimentel-Bitwarden 2026-03-12 12:39:08 -04:00 committed by GitHub
parent 44ef7c1f54
commit ec17680fa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}
};