mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 23:46:05 -03:30
Added condition based off PR feedback
This commit is contained in:
@@ -347,7 +347,7 @@ export default
|
|||||||
|
|
||||||
ParseTypeChange({ scope: $scope, field_id: 'job_templates_variables', onChange: callback });
|
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);
|
$scope.$emit('cloudCredentialReady', $scope.job_template_obj.summary_fields.cloud_credential.name);
|
||||||
} else {
|
} else {
|
||||||
// No existing cloud credential
|
// No existing cloud credential
|
||||||
|
|||||||
Reference in New Issue
Block a user