From 31dd5269077cef143819a9ec84d7a5dec5c0419a Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Mon, 11 Mar 2024 13:02:37 -0400 Subject: [PATCH] - Regression Signed-off-by: Dave Richer --- .../jobs-detail-header-actions.component.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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", }); };