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
This commit is contained in:
Simon Detheridge 2020-01-27 13:54:07 +00:00 committed by Copybot
parent 08a35b8998
commit 34d3671640

View file

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