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:
softwarefactory-project-zuul[bot]
2018-12-02 20:05:19 +00:00
committed by GitHub

View File

@@ -114,6 +114,7 @@ export default ['$stateParams', '$scope', '$rootScope',
$scope.$watchCollection(`${list.iterator}_dataset`, function(data) {
$scope[list.name] = data.results;
$scope.orgCards = parseCardData($scope[list.name]);
$scope.orgCount = data.count;
});
$scope.addOrganization = function() {