Work in progress: Continue on org view

This commit is contained in:
Joseph Schorr 2013-11-04 16:51:25 -05:00
parent 17a07ea6e0
commit b56bb92801
4 changed files with 18 additions and 5 deletions

View file

@ -1238,6 +1238,8 @@ function TeamViewCtrl($rootScope, $scope, Restangular, $routeParams) {
$scope.organization = resp;
$scope.loading = !$scope.organization || !$scope.members;
}, function() {
$scope.organization = null;
$scope.members = null;
$scope.loading = false;
});
};
@ -1250,6 +1252,8 @@ function TeamViewCtrl($rootScope, $scope, Restangular, $routeParams) {
$scope.loading = !$scope.organization || !$scope.members;
$rootScope.title = teamname + ' (' + orgname + ')';
}, function() {
$scope.organization = null;
$scope.members = null;
$scope.loading = false;
});
};