From ee1ed2aaa7b56125fb84cad9a771f36eb53a31e5 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Thu, 17 Dec 2020 10:29:57 -0800 Subject: [PATCH] handle null values on inventories pending deletion Co-authored-by: Jake McDermott --- .../src/screens/Inventory/InventoryList/InventoryListItem.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx index fbb6e46249..d10dbf2a0a 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx @@ -84,9 +84,9 @@ function InventoryListItem({ - {inventory.summary_fields.organization.name} + {inventory?.summary_fields?.organization?.name} {inventory.total_groups}