mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 14:25:05 -02:30
Merge pull request #2852 from jlmitch5/updateOrgCardsCountWhenDatasetChanges
update org cards count when dataset chnages Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -114,6 +114,7 @@ export default ['$stateParams', '$scope', '$rootScope',
|
|||||||
$scope.$watchCollection(`${list.iterator}_dataset`, function(data) {
|
$scope.$watchCollection(`${list.iterator}_dataset`, function(data) {
|
||||||
$scope[list.name] = data.results;
|
$scope[list.name] = data.results;
|
||||||
$scope.orgCards = parseCardData($scope[list.name]);
|
$scope.orgCards = parseCardData($scope[list.name]);
|
||||||
|
$scope.orgCount = data.count;
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.addOrganization = function() {
|
$scope.addOrganization = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user