feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -71,12 +71,12 @@ function JobLinesUpsertModalContainer({ jobLineEditModal, toggleModalVisible, bo
|
||||
if (jobLineEditModal.actions.refetch) jobLineEditModal.actions.refetch();
|
||||
//Need to recalcuate totals.
|
||||
toggleModalVisible();
|
||||
notification["success"]({
|
||||
message: t("joblines.successes.created")
|
||||
notification.success({
|
||||
title: t("joblines.successes.created")
|
||||
});
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("joblines.errors.creating", {
|
||||
notification.error({
|
||||
title: t("joblines.errors.creating", {
|
||||
message: JSON.stringify(r.errors.message)
|
||||
})
|
||||
});
|
||||
@@ -100,12 +100,12 @@ function JobLinesUpsertModalContainer({ jobLineEditModal, toggleModalVisible, bo
|
||||
refetchQueries: ["GET_LINE_TICKET_BY_PK"]
|
||||
});
|
||||
if (!r.errors) {
|
||||
notification["success"]({
|
||||
message: t("joblines.successes.updated")
|
||||
notification.success({
|
||||
title: t("joblines.successes.updated")
|
||||
});
|
||||
} else {
|
||||
notification["success"]({
|
||||
message: t("joblines.errors.updating", {
|
||||
notification.success({
|
||||
title: t("joblines.errors.updating", {
|
||||
message: JSON.stringify(r.errors.message)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user