Merge pull request #2460 from overleaf/hb-remove-personal-plan-code

remove specific logic for old default personal plan code

GitOrigin-RevId: fd4ef1949f337f6c09ea963473e3aeb8eff5c62f
This commit is contained in:
Eric Mc Sween 2020-01-06 10:35:25 -05:00 committed by Copybot
parent 810aadde10
commit a7db312404

View file

@ -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
)