Merge pull request #529 from jzelinskie/fixrepocountchecker
fix misreference to $scope.isUserNamespace
This commit is contained in:
commit
d2a11be9a9
1 changed files with 3 additions and 3 deletions
|
@ -71,11 +71,11 @@ angular.module('quay').directive('repoCountChecker', function () {
|
|||
}
|
||||
};
|
||||
|
||||
var isUserNamespace = UserService.isUserNamespace($scope.namespace);
|
||||
var namespace = isUserNamespace ? null : $scope.namespace;
|
||||
$scope.isUserNamespace = !UserService.isOrganization($scope.namespace);
|
||||
var namespace = $scope.isUserNamespace ? null : $scope.namespace;
|
||||
PlanService.changePlan($scope, namespace, $scope.planRequired.stripeId, callbacks);
|
||||
};
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
});
|
||||
});
|
||||
|
|
Reference in a new issue