diff --git a/awx/ui/src/components/JobList/JobList.js b/awx/ui/src/components/JobList/JobList.js index 53af3f00b4..4471df2333 100644 --- a/awx/ui/src/components/JobList/JobList.js +++ b/awx/ui/src/components/JobList/JobList.js @@ -26,7 +26,11 @@ import JobListItem from './JobListItem'; import JobListCancelButton from './JobListCancelButton'; import useWsJobs from './useWsJobs'; -function JobList({ defaultParams, showTypeColumn = false }) { +function JobList({ + defaultParams, + showTypeColumn = false, + additionalRelatedSearchableKeys = [], +}) { const qsConfig = getQSConfig( 'job', { @@ -243,7 +247,10 @@ function JobList({ defaultParams, showTypeColumn = false }) { } clearSelected={clearSelected} toolbarSearchableKeys={searchableKeys} - toolbarRelatedSearchableKeys={relatedSearchableKeys} + toolbarRelatedSearchableKeys={[ + ...relatedSearchableKeys, + ...additionalRelatedSearchableKeys, + ]} renderToolbar={(props) => ( , diff --git a/awx/ui/src/screens/Inventory/InventoryList/InventoryListItem.js b/awx/ui/src/screens/Inventory/InventoryList/InventoryListItem.js index 8c1287d39c..49a0456e8d 100644 --- a/awx/ui/src/screens/Inventory/InventoryList/InventoryListItem.js +++ b/awx/ui/src/screens/Inventory/InventoryList/InventoryListItem.js @@ -95,9 +95,19 @@ function InventoryListItem({ )} - {inventory.kind !== 'smart' && ( - - )} + {inventory.kind !== 'smart' && + (inventory.has_inventory_sources ? ( + + + + ) : ( + + ))} {inventory.kind === 'smart' ? t`Smart Inventory` : t`Inventory`}