mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 01:34:45 -03:30
Update variables as returned by useRequest
Update variables to be consistent with variables returned by useRequest.
This commit is contained in:
@@ -223,7 +223,7 @@ function ScheduleForm({
|
||||
const {
|
||||
request: loadScheduleData,
|
||||
error: contentError,
|
||||
contentLoading,
|
||||
isLoading: contentLoading,
|
||||
result: { zoneOptions, credentials },
|
||||
} = useRequest(
|
||||
useCallback(async () => {
|
||||
|
||||
@@ -447,6 +447,7 @@ describe('<ScheduleForm />', () => {
|
||||
/>
|
||||
);
|
||||
});
|
||||
await waitForElement(wrapper, 'ContentLoading', el => el.length === 0);
|
||||
});
|
||||
afterAll(() => {
|
||||
wrapper.unmount();
|
||||
|
||||
Reference in New Issue
Block a user