Fix it so the user admin page shows the plan pay dialog when loaded with the proper parameter
This commit is contained in:
parent
62d057d7aa
commit
fb1732d069
3 changed files with 27 additions and 12 deletions
|
@ -675,11 +675,10 @@ function UserAdminCtrl($scope, $timeout, Restangular, PlanService, UserService,
|
|||
$scope.loading = false;
|
||||
}, true);
|
||||
|
||||
// Show the subscribe dialog if a plan was requested.
|
||||
var requested = $routeParams['plan']
|
||||
if (requested !== undefined && requested !== 'free') {
|
||||
// TODO: this.
|
||||
}
|
||||
$scope.readyForPlan = function() {
|
||||
// Show the subscribe dialog if a plan was requested.
|
||||
return $routeParams['plan'];
|
||||
};
|
||||
|
||||
$scope.loading = true;
|
||||
$scope.updatingUser = false;
|
||||
|
|
Reference in a new issue