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

@@ -59,8 +59,8 @@ export function ContractCreatePageContainer({ bodyshop, setBreadcrumbs, setSelec
if (!result.errors) {
//Update the courtesy car to have the damage.
logImEXEvent("courtesy_car_contract_created", {});
notification["success"]({
message: t("contracts.successes.saved")
notification.success({
title: t("contracts.successes.saved")
});
//Intake the job if required
@@ -76,8 +76,8 @@ export function ContractCreatePageContainer({ bodyshop, setBreadcrumbs, setSelec
}
});
if (result2.errors) {
notification["error"]({
message: t("jobs.errors.saving", {
notification.error({
title: t("jobs.errors.saving", {
error: JSON.stringify(!result2.errors)
})
});
@@ -89,15 +89,15 @@ export function ContractCreatePageContainer({ bodyshop, setBreadcrumbs, setSelec
form.resetFields();
history(`/manage/courtesycars/contracts/${result.data.insert_cccontracts.returning[0].id}`);
} else {
notification["error"]({
message: t("contracts.errors.saving", {
notification.error({
title: t("contracts.errors.saving", {
error: JSON.stringify(!result.errors)
})
});
}
} else {
notification["error"]({
message: t("contracts.errors.selectjobandcar")
notification.error({
title: t("contracts.errors.selectjobandcar")
});
}
setLoading(false);