diff --git a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx index 1eeaf68fe..a7b8ab9bf 100644 --- a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx +++ b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx @@ -356,6 +356,11 @@ export function JobsDetailHeaderActions({ notification["success"]({ message: t("jobs.successes.voided"), }); + insertAuditTrail({ + jobid: job.id, + operation: AuditTrailMapping.jobvoid(), + type: "jobvoid", + }); //go back to jobs list. history(`/manage/`); } else { @@ -462,7 +467,6 @@ export function JobsDetailHeaderActions({ ? !job.production_vars.alert : true, }, - type: "alertToggle", }, }, }); @@ -473,6 +477,7 @@ export function JobsDetailHeaderActions({ ? !job.production_vars.alert : true ), + type: "alertToggle", }); };