From a7db3124040b3a1b8ceb3f9178627693058f6428 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Mon, 6 Jan 2020 10:35:25 -0500 Subject: [PATCH] Merge pull request #2460 from overleaf/hb-remove-personal-plan-code remove specific logic for old default personal plan code GitOrigin-RevId: fd4ef1949f337f6c09ea963473e3aeb8eff5c62f --- .../src/Features/Subscription/SubscriptionViewModelBuilder.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js b/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js index aa9ccd5cc2..aa1948572f 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js +++ b/services/web/app/src/Features/Subscription/SubscriptionViewModelBuilder.js @@ -258,8 +258,6 @@ module.exports = { const result = { allPlans } - result.personalAccount = _.find(plans, plan => plan.planCode === 'personal') - result.studentAccounts = _.filter( plans, plan => plan.planCode.indexOf('student') !== -1 @@ -280,7 +278,6 @@ module.exports = { plan => !plan.groupPlan && !plan.annual && - plan.planCode !== 'personal' && plan.planCode.indexOf('student') === -1 )