diff --git a/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHosts.jsx b/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHosts.jsx index 921b78a7a5..b9d2fbeca4 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHosts.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHosts.jsx @@ -165,12 +165,12 @@ function InventoryHosts({ i18n, location, match }) { itemsToDelete={selected} pluralizedItemName={i18n._(t`Hosts`)} />, - canAdd ? ( + canAdd && ( - ) : null, + ), ]} /> )} @@ -186,12 +186,12 @@ function InventoryHosts({ i18n, location, match }) { /> )} emptyStateControls={ - canAdd ? ( + canAdd && ( - ) : null + ) } />