mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
Refactor organization look to use useRequest hook
This commit is contained in:
@@ -40,7 +40,7 @@ function OrganizationLookup({
|
|||||||
organizations: data.results,
|
organizations: data.results,
|
||||||
itemCount: data.count,
|
itemCount: data.count,
|
||||||
};
|
};
|
||||||
}, [history.location]),
|
}, [history.location.search]),
|
||||||
{
|
{
|
||||||
organizations: [],
|
organizations: [],
|
||||||
itemCount: 0,
|
itemCount: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user