diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx index 7e3feaec33..45408f88a2 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx @@ -101,7 +101,9 @@ function InventoryListItem({ - + {inventory.kind !== 'smart' && ( + + )} , {inventory.pending_deletion ? ( diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx index b23878a651..61c3fe572d 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx @@ -36,6 +36,7 @@ describe('', () => { inventory={{ id: 1, name: 'Inventory', + kind: '', summary_fields: { organization: { id: 1, @@ -51,6 +52,7 @@ describe('', () => { onSelect={() => {}} /> ); + expect(wrapper.find('SyncStatusIndicator').length).toBe(1); expect( wrapper .find('DataListCell')