mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Added condition based off PR feedback
This commit is contained in:
parent
33bb3abd52
commit
906db7d75e
@ -347,7 +347,7 @@ export default
|
||||
|
||||
ParseTypeChange({ scope: $scope, field_id: 'job_templates_variables', onChange: callback });
|
||||
|
||||
if(related_cloud_credential) {
|
||||
if($scope.job_template_obj.summary_fields.cloud_credential.name && related_cloud_credential) {
|
||||
$scope.$emit('cloudCredentialReady', $scope.job_template_obj.summary_fields.cloud_credential.name);
|
||||
} else {
|
||||
// No existing cloud credential
|
||||
|
Loading…
Reference in New Issue
Block a user