From 9d81727d16635b354e8e91ca3802a34fb46e855d Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 15 Oct 2018 10:58:21 -0400 Subject: [PATCH] fix a typo on the JT add page that breaks the custom venv field --- awx/ui/client/src/templates/job_templates/job-template.form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/templates/job_templates/job-template.form.js b/awx/ui/client/src/templates/job_templates/job-template.form.js index 7b75e16415..54bbe2c70d 100644 --- a/awx/ui/client/src/templates/job_templates/job-template.form.js +++ b/awx/ui/client/src/templates/job_templates/job-template.form.js @@ -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: {