Fix NPE in plans manager while loading
This commit is contained in:
parent
3ca9dad2dd
commit
c84d2e750f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ angular.module('quay').directive('planManager', function () {
|
|||
return !$scope.isPlanVisible(superseded, subscribedPlan);
|
||||
}
|
||||
|
||||
return plan.stripeId === subscribedPlan.stripeId;
|
||||
return subscribedPlan && plan.stripeId === subscribedPlan.stripeId;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Reference in a new issue