From 07706dde7c38bad9113259afea7606c28ea5706c Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 20 Dec 2024 13:37:36 -0500 Subject: [PATCH] SAT-30004 - Fix Actions History to correctly show tasks instead of nil --- .../PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap | 2 +- webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap b/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap index 6ae9ad6c..5855b204 100644 --- a/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap +++ b/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap @@ -24,7 +24,7 @@ exports[`PageTitle rendering render without Props 1`] = ` dropdownItems={ Array [ diff --git a/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js b/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js index e7a2017e..2c712ea2 100644 --- a/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js +++ b/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js @@ -13,7 +13,7 @@ export const getInventoryDocsUrl = () => export const getActionsHistoryUrl = () => foremanUrl( - '/foreman_tasks/tasks?search=action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateReportJob+or+action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateAllReportsJob&page=1' + '/foreman_tasks/tasks?search=label+%3D+ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateReportJob+or+label+%3D+ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateAllReportsJob&page=1' ); export const isExitCodeLoading = exitCode => {