mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #11324 from keithjgrant/10655-duplicate-api-requests
Reduce duplicate fetches after saving inventory group
This commit is contained in:
commit
4fd5b01a83
@ -13,7 +13,7 @@ function InventoryGroupEdit({ inventoryGroup }) {
|
||||
const handleSubmit = async (values) => {
|
||||
try {
|
||||
await GroupsAPI.update(groupId, values);
|
||||
history.push(`/inventories/inventory/${id}/groups/${groupId}`);
|
||||
history.push(`/inventories/inventory/${id}/groups/${groupId}/details`);
|
||||
} catch (err) {
|
||||
setError(err);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user