feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -45,7 +45,7 @@ export function JoblineTeamAssignment({ bodyshop, jobline, disabled, jobId, inse
|
||||
});
|
||||
|
||||
if (!result.errors) {
|
||||
notification["success"]({ message: t("joblines.successes.saved") });
|
||||
notification.success({ title: t("joblines.successes.saved") });
|
||||
//insert the audit trail here.
|
||||
const teamName = bodyshop.employee_teams.find((et) => et.id === assignedTeam)?.name;
|
||||
insertAuditTrail({
|
||||
@@ -53,8 +53,8 @@ export function JoblineTeamAssignment({ bodyshop, jobline, disabled, jobId, inse
|
||||
operation: AuditTrailMapping.assignedlinehours(teamName, jobline.mod_lb_hrs)
|
||||
});
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("joblines.errors.saving", {
|
||||
notification.error({
|
||||
title: t("joblines.errors.saving", {
|
||||
error: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user