mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
Redirect user to visualizer page after successful workflow creation
This commit is contained in:
@@ -30,7 +30,7 @@ function WorkflowJobTemplateAdd() {
|
|||||||
data: { id },
|
data: { id },
|
||||||
} = await WorkflowJobTemplatesAPI.create(templatePayload);
|
} = await WorkflowJobTemplatesAPI.create(templatePayload);
|
||||||
await Promise.all(await submitLabels(id, labels, organizationId));
|
await Promise.all(await submitLabels(id, labels, organizationId));
|
||||||
history.push(`/templates/workflow_job_template/${id}/details`);
|
history.push(`/templates/workflow_job_template/${id}/visualizer`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
setFormSubmitError(err);
|
setFormSubmitError(err);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user