Show the billing options in the user and org views
This commit is contained in:
parent
7ea02c186a
commit
2105ad90a0
4 changed files with 15 additions and 6 deletions
|
@ -11,6 +11,9 @@ angular.module('quay').directive('planManager', function () {
|
|||
scope: {
|
||||
'user': '=user',
|
||||
'organization': '=organization',
|
||||
|
||||
'hasSubscription': '=hasSubscription',
|
||||
|
||||
'readyForPlan': '&readyForPlan',
|
||||
'planChanged': '&planChanged'
|
||||
},
|
||||
|
@ -68,6 +71,7 @@ angular.module('quay').directive('planManager', function () {
|
|||
|
||||
$scope.planChanging = false;
|
||||
$scope.planLoading = false;
|
||||
$scope.hasSubscription = subscribedPlan.stripeId != PlanService.getFreePlan();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue