mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Merge pull request #9465 from nixocio/ui_unfix_async
Revert change on WorkflowJobTemplateAdd
Reviewed-by: Kersom
https://github.com/nixocio
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user