From 34d3671640c1241c8ac3780263d000259af8dc1c Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Mon, 27 Jan 2020 13:54:07 +0000 Subject: [PATCH] Merge pull request #2533 from overleaf/revert-2460-hb-remove-personal-plan-code Add back specific logic for old default personal plan code GitOrigin-RevId: 36aa2ab2be06c27faa6ffca7f2dacdf8aef9322f --- .../src/Features/Subscription/SubscriptionViewModelBuilder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js b/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js index aa1948572f..46e5db1d9a 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js +++ b/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js @@ -278,6 +278,7 @@ module.exports = { plan => !plan.groupPlan && !plan.annual && + plan.planCode !== 'personal' && // Prevent the personal plan from appearing on the change-plans page plan.planCode.indexOf('student') === -1 )