Merge pull request #3068 from ryanpetrello/fix-3039

fix a typo on the JT add page that breaks the custom venv field
This commit is contained in:
Ryan Petrello
2018-10-15 11:40:33 -04:00
committed by GitHub

View File

@@ -245,7 +245,7 @@ function(NotificationsList, i18n) {
dataTitle: i18n._('Ansible Environment'),
dataContainer: 'body',
dataPlacement: 'right',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAdd)',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)',
ngShow: 'custom_virtualenvs_options.length > 1'
},
instance_groups: {