mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Don't fetch credential for inventory groups when all we need is the name and it exists in the summary fields
This implicitly solves #2803 by simply not doing the get that was causing the problem.
This commit is contained in:
parent
33547259e2
commit
ffdcd1f20d
@ -247,7 +247,7 @@
|
||||
{inventory_script: inventorySourceData.source_script}
|
||||
);
|
||||
if (inventorySourceData.credential){
|
||||
GroupManageService.getCredential(inventorySourceData.credential).then(res => $scope.credential_name = res.data.name);
|
||||
$scope.credential_name = inventorySourceData.summary_fields.credential.name;
|
||||
}
|
||||
$scope = angular.extend($scope, groupData);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user