mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Revert change on WorkflowJobTemplateAdd
Revert removal of `await` on WorkflowJobTemplateAdd See: https://github.com/ansible/awx/pull/9459
This commit is contained in:
parent
3903e88a47
commit
899a5fca0b
@ -29,7 +29,7 @@ function WorkflowJobTemplateAdd() {
|
||||
const {
|
||||
data: { id },
|
||||
} = await WorkflowJobTemplatesAPI.create(templatePayload);
|
||||
await Promise.all(submitLabels(id, labels, organizationId));
|
||||
await Promise.all(await submitLabels(id, labels, organizationId));
|
||||
history.push(`/templates/workflow_job_template/${id}/visualizer`);
|
||||
} catch (err) {
|
||||
setFormSubmitError(err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user