Missed in the last commitment.
This commit is contained in:
@@ -71,9 +71,6 @@ export function ScheduleJobModalContainer({
|
|||||||
const cancelAppt = await cancelAppointment({
|
const cancelAppt = await cancelAppointment({
|
||||||
variables: { appid: previousEvent },
|
variables: { appid: previousEvent },
|
||||||
});
|
});
|
||||||
notification["success"]({
|
|
||||||
message: t("appointments.successes.canceled"),
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!!cancelAppt.errors) {
|
if (!!cancelAppt.errors) {
|
||||||
notification["error"]({
|
notification["error"]({
|
||||||
@@ -83,6 +80,10 @@ export function ScheduleJobModalContainer({
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notification["success"]({
|
||||||
|
message: t("appointments.successes.canceled"),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (existingAppointments.data.appointments.length > 0) {
|
if (existingAppointments.data.appointments.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user