diff --git a/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js b/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js index e7f7b67db3..4875e3abca 100644 --- a/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js +++ b/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js @@ -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);