mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Merge pull request #9398 from nixocio/ui_fix_variable_name
Update variables as returned by useRequest Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -223,7 +223,7 @@ function ScheduleForm({
|
|||||||
const {
|
const {
|
||||||
request: loadScheduleData,
|
request: loadScheduleData,
|
||||||
error: contentError,
|
error: contentError,
|
||||||
contentLoading,
|
isLoading: contentLoading,
|
||||||
result: { zoneOptions, credentials },
|
result: { zoneOptions, credentials },
|
||||||
} = useRequest(
|
} = useRequest(
|
||||||
useCallback(async () => {
|
useCallback(async () => {
|
||||||
|
|||||||
@@ -447,6 +447,7 @@ describe('<ScheduleForm />', () => {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
await waitForElement(wrapper, 'ContentLoading', el => el.length === 0);
|
||||||
});
|
});
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
wrapper.unmount();
|
wrapper.unmount();
|
||||||
|
|||||||
Reference in New Issue
Block a user