don't navigate to inventory group details on edit cancel

This commit is contained in:
Keith J. Grant
2021-11-09 10:59:58 -08:00
parent e89037dd77
commit f63003f982

View File

@@ -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 (