mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
Fix bug where page crashed if attempting to view system job node without extra vars
This commit is contained in:
@@ -139,7 +139,8 @@ function NodeViewModal({ readOnly }) {
|
|||||||
if (
|
if (
|
||||||
launchConfig.ask_variables_on_launch ||
|
launchConfig.ask_variables_on_launch ||
|
||||||
launchConfig.survey_enabled ||
|
launchConfig.survey_enabled ||
|
||||||
fullUnifiedJobTemplate.type === 'system_job_template'
|
(fullUnifiedJobTemplate.type === 'system_job_template' &&
|
||||||
|
promptValues.extra_data)
|
||||||
) {
|
) {
|
||||||
overrides.extra_vars = jsonToYaml(
|
overrides.extra_vars = jsonToYaml(
|
||||||
JSON.stringify(promptValues.extra_data)
|
JSON.stringify(promptValues.extra_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user