feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -99,16 +99,16 @@ export function ScheduleJobModalContainer({
|
||||
});
|
||||
|
||||
if (cancelAppt.errors) {
|
||||
notification["error"]({
|
||||
message: t("appointments.errors.canceling", {
|
||||
notification.error({
|
||||
title: t("appointments.errors.canceling", {
|
||||
message: JSON.stringify(cancelAppt.errors)
|
||||
})
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
notification["success"]({
|
||||
message: t("appointments.successes.canceled")
|
||||
notification.success({
|
||||
title: t("appointments.successes.canceled")
|
||||
});
|
||||
}
|
||||
|
||||
@@ -147,15 +147,15 @@ export function ScheduleJobModalContainer({
|
||||
}
|
||||
|
||||
if (appt.errors) {
|
||||
notification["error"]({
|
||||
message: t("appointments.errors.saving", {
|
||||
notification.error({
|
||||
title: t("appointments.errors.saving", {
|
||||
message: JSON.stringify(appt.errors)
|
||||
})
|
||||
});
|
||||
return;
|
||||
}
|
||||
notification["success"]({
|
||||
message: t("appointments.successes.created")
|
||||
notification.success({
|
||||
title: t("appointments.successes.created")
|
||||
});
|
||||
if (jobId) {
|
||||
const jobUpdate = await updateJobStatus({
|
||||
@@ -173,8 +173,8 @@ export function ScheduleJobModalContainer({
|
||||
});
|
||||
|
||||
if (jobUpdate.errors) {
|
||||
notification["error"]({
|
||||
message: t("appointments.errors.saving", {
|
||||
notification.error({
|
||||
title: t("appointments.errors.saving", {
|
||||
message: JSON.stringify(jobUpdate.errors)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user