feature/IO-3499-React-19: Bug Fixes / Checkpoint

This commit is contained in:
Dave
2026-01-13 22:28:43 -05:00
parent 7bdfbfabe9
commit 53d556a621
171 changed files with 1128 additions and 954 deletions

View File

@@ -41,23 +41,20 @@ export function JobLinesPartPriceChange({ job, line, refetch, technician, isPart
id: job.id
});
if (result.errors) {
notification.open({
type: "error",
message: t("joblines.errors.saving", {
notification.error({
title: t("joblines.errors.saving", {
error: JSON.stringify(result.errors)
})
});
if (refetch) refetch();
} else {
notification.open({
type: "success",
message: t("joblines.successes.saved")
notification.success({
title: t("joblines.successes.saved")
});
}
} catch (error) {
notification.open({
type: "error",
message: t("joblines.errors.saving", { error: JSON.stringify(error) })
notification.error({
title: t("joblines.errors.saving", { error: JSON.stringify(error) })
});
} finally {
setLoading(false);