mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 07:51:51 -05:00
add 'other prompt' fields to launch API call
This commit is contained in:
@@ -88,8 +88,8 @@ class LaunchButton extends React.Component {
|
||||
const { history, resource } = this.props;
|
||||
const jobPromise =
|
||||
resource.type === 'workflow_job_template'
|
||||
? WorkflowJobTemplatesAPI.launch(resource.id, params)
|
||||
: JobTemplatesAPI.launch(resource.id, params);
|
||||
? WorkflowJobTemplatesAPI.launch(resource.id, params || {})
|
||||
: JobTemplatesAPI.launch(resource.id, params || {});
|
||||
|
||||
const { data: job } = await jobPromise;
|
||||
history.push(
|
||||
|
||||
Reference in New Issue
Block a user