getMinimumPlan should ignore deprecated plans
This commit is contained in:
parent
c20e7dbcf7
commit
44d0505990
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ quayApp = angular.module('quay', ['ngRoute', 'chieffancypants.loadingBar', 'rest
|
|||
};
|
||||
|
||||
planService.getMinimumPlan = function(privateCount, isBusiness, callback) {
|
||||
planService.verifyLoaded(function() {
|
||||
planService.getPlans(function(plans) {
|
||||
for (var i = 0; i < plans.length; i++) {
|
||||
var plan = plans[i];
|
||||
if (isBusiness && !planService.isOrgCompatible(plan)) {
|
||||
|
|
Reference in a new issue