mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -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:
@@ -247,7 +247,7 @@
|
|||||||
{inventory_script: inventorySourceData.source_script}
|
{inventory_script: inventorySourceData.source_script}
|
||||||
);
|
);
|
||||||
if (inventorySourceData.credential){
|
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);
|
$scope = angular.extend($scope, groupData);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user