From f63003f982dc399e21b460010955c18b6e840cb6 Mon Sep 17 00:00:00 2001 From: "Keith J. Grant" Date: Tue, 9 Nov 2021 10:59:58 -0800 Subject: [PATCH] don't navigate to inventory group details on edit cancel --- .../screens/Inventory/InventoryGroupEdit/InventoryGroupEdit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/src/screens/Inventory/InventoryGroupEdit/InventoryGroupEdit.js b/awx/ui/src/screens/Inventory/InventoryGroupEdit/InventoryGroupEdit.js index 3db2d80829..5c0a34796a 100644 --- a/awx/ui/src/screens/Inventory/InventoryGroupEdit/InventoryGroupEdit.js +++ b/awx/ui/src/screens/Inventory/InventoryGroupEdit/InventoryGroupEdit.js @@ -20,7 +20,7 @@ function InventoryGroupEdit({ inventoryGroup }) { }; const handleCancel = () => { - history.push(`/inventories/inventory/${id}/groups/${groupId}/details`); + history.push(`/inventories/inventory/${id}/groups/${groupId}`); }; return (