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
commit 63b0796738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {