mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Changed conditonal to repair console error and page loade error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user