mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03: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 (
|
||||
launchConfig.ask_variables_on_launch ||
|
||||
launchConfig.survey_enabled ||
|
||||
fullUnifiedJobTemplate.type === 'system_job_template'
|
||||
(fullUnifiedJobTemplate.type === 'system_job_template' &&
|
||||
promptValues.extra_data)
|
||||
) {
|
||||
overrides.extra_vars = jsonToYaml(
|
||||
JSON.stringify(promptValues.extra_data)
|
||||
|
||||
Reference in New Issue
Block a user