From 294b9c8910a4466966a319ea0abd28768e4f999a Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 25 Nov 2020 11:01:05 -0500 Subject: [PATCH] Only display inventory file for scm sources --- .../InventorySourceDetail/InventorySourceDetail.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/awx/ui_next/src/screens/Inventory/InventorySourceDetail/InventorySourceDetail.jsx b/awx/ui_next/src/screens/Inventory/InventorySourceDetail/InventorySourceDetail.jsx index cb26155a05..f3fcdebfca 100644 --- a/awx/ui_next/src/screens/Inventory/InventorySourceDetail/InventorySourceDetail.jsx +++ b/awx/ui_next/src/screens/Inventory/InventorySourceDetail/InventorySourceDetail.jsx @@ -214,10 +214,14 @@ function InventorySourceDetail({ inventorySource, i18n }) { } /> )} - + {source === 'scm' ? ( + + ) : null}