diff --git a/static/js/directives/ui/plan-manager.js b/static/js/directives/ui/plan-manager.js index c6414378e..f0061a122 100644 --- a/static/js/directives/ui/plan-manager.js +++ b/static/js/directives/ui/plan-manager.js @@ -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;