mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #3000 from kensible/2999-JT-cloud-credentials
Changed conditional to fix JT edit page load error
This commit is contained in:
commit
102e56b623
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user