feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -85,14 +85,14 @@ export function TechClockOffButton({
|
||||
});
|
||||
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("timetickets.errors.clockingout", {
|
||||
notification.error({
|
||||
title: t("timetickets.errors.clockingout", {
|
||||
message: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification["success"]({
|
||||
message: t("timetickets.successes.clockedout")
|
||||
notification.success({
|
||||
title: t("timetickets.successes.clockedout")
|
||||
});
|
||||
}
|
||||
if (!isShiftTicket) {
|
||||
@@ -104,14 +104,14 @@ export function TechClockOffButton({
|
||||
});
|
||||
|
||||
if (job_update_result.errors) {
|
||||
notification["error"]({
|
||||
message: t("jobs.errors.updating", {
|
||||
notification.error({
|
||||
title: t("jobs.errors.updating", {
|
||||
message: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification["success"]({
|
||||
message: t("jobs.successes.updated")
|
||||
notification.success({
|
||||
title: t("jobs.successes.updated")
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user