- Regression

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-03-11 13:02:37 -04:00
parent 8fdee890dc
commit 31dd526907

View File

@@ -356,6 +356,11 @@ export function JobsDetailHeaderActions({
notification["success"]({ notification["success"]({
message: t("jobs.successes.voided"), message: t("jobs.successes.voided"),
}); });
insertAuditTrail({
jobid: job.id,
operation: AuditTrailMapping.jobvoid(),
type: "jobvoid",
});
//go back to jobs list. //go back to jobs list.
history(`/manage/`); history(`/manage/`);
} else { } else {
@@ -462,7 +467,6 @@ export function JobsDetailHeaderActions({
? !job.production_vars.alert ? !job.production_vars.alert
: true, : true,
}, },
type: "alertToggle",
}, },
}, },
}); });
@@ -473,6 +477,7 @@ export function JobsDetailHeaderActions({
? !job.production_vars.alert ? !job.production_vars.alert
: true : true
), ),
type: "alertToggle",
}); });
}; };