feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -67,9 +67,8 @@ export function JobLineDispatchButton({
|
||||
});
|
||||
if (result.errors) {
|
||||
console.log("🚀 ~ handleConvert ~ result.errors:", result.errors);
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("parts_dispatch.errors.creating", {
|
||||
notification.error({
|
||||
title: t("parts_dispatch.errors.creating", {
|
||||
error: result.errors
|
||||
})
|
||||
});
|
||||
@@ -91,9 +90,8 @@ export function JobLineDispatchButton({
|
||||
setVisible(false);
|
||||
} catch (error) {
|
||||
console.log("🚀 ~ handleConvert ~ error:", error);
|
||||
notification.open({
|
||||
type: "error",
|
||||
message: t("parts_dispatch.errors.creating", {
|
||||
notification.error({
|
||||
title: t("parts_dispatch.errors.creating", {
|
||||
error: error
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user