diff options
author | kensible <khoes@ansible.com> | 2016-07-14 17:25:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-14 17:25:54 +0200 |
commit | 102e56b6238be8b2328a8f8348311fbc1ea71aa9 (patch) | |
tree | 947ca1ca88c5d5ce91407a446e80be0416e2f19a | |
parent | Merge pull request #3001 from anoek/misc-fixes (diff) | |
parent | Changed conditonal to repair console error and page loade error (diff) | |
download | awx-102e56b6238be8b2328a8f8348311fbc1ea71aa9.tar.xz awx-102e56b6238be8b2328a8f8348311fbc1ea71aa9.zip |
Merge pull request #3000 from kensible/2999-JT-cloud-credentials
Changed conditional to fix JT edit page load error
-rw-r--r-- | awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js b/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js index ff753d2077..d92d1ecfd5 100644 --- a/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js +++ b/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js @@ -349,7 +349,7 @@ export default ParseTypeChange({ scope: $scope, field_id: 'job_templates_variables', onChange: callback }); - if($scope.job_template_obj.summary_fields.cloud_credential.name && related_cloud_credential) { + if($scope.job_template_obj.summary_fields.cloud_credential && related_cloud_credential) { $scope.$emit('cloudCredentialReady', $scope.job_template_obj.summary_fields.cloud_credential.name); } else { // No existing cloud credential |