mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Fix bug where page crashed if attempting to view system job node without extra vars
This commit is contained in:
parent
874b497794
commit
1e30e33d30
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user