diff options
Diffstat (limited to 'awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js')
-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 |