feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -39,7 +39,7 @@ const onServiceWorkerUpdate = (registration) => {
|
||||
|
||||
notification.open({
|
||||
icon: <AlertOutlined />,
|
||||
message: i18n.t("general.messages.newversiontitle", {
|
||||
title: i18n.t("general.messages.newversiontitle", {
|
||||
app: InstanceRenderManager({
|
||||
imex: "$t(titles.imexonline)",
|
||||
rome: "$t(titles.romeonline)"
|
||||
|
||||
@@ -128,7 +128,7 @@ export default async function RenderTemplate(
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
notification["error"]({ message: JSON.stringify(error) });
|
||||
notification.error({ title: JSON.stringify(error) });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ export async function RenderTemplates(templateObjects, bodyshop, renderAsHtml =
|
||||
return render.toString();
|
||||
}
|
||||
} catch (error) {
|
||||
notification["error"]({ message: JSON.stringify(error) });
|
||||
notification.error({ title: JSON.stringify(error) });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ async function CriticalPartsScan(jobid, notification) {
|
||||
try {
|
||||
await axios.post("/job/partsscan", { jobid });
|
||||
} catch (error) {
|
||||
notification.open({ type: "error", message: JSON.stringify(error) });
|
||||
notification.error({ title: JSON.stringify(error) });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user