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:
softwarefactory-project-zuul[bot]
2021-03-03 15:40:39 +00:00
committed by GitHub

View File

@@ -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);