mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
810aadde10
commit
a7db312404
1 changed files with 0 additions and 3 deletions
|
@ -258,8 +258,6 @@ module.exports = {
|
||||||
|
|
||||||
const result = { allPlans }
|
const result = { allPlans }
|
||||||
|
|
||||||
result.personalAccount = _.find(plans, plan => plan.planCode === 'personal')
|
|
||||||
|
|
||||||
result.studentAccounts = _.filter(
|
result.studentAccounts = _.filter(
|
||||||
plans,
|
plans,
|
||||||
plan => plan.planCode.indexOf('student') !== -1
|
plan => plan.planCode.indexOf('student') !== -1
|
||||||
|
@ -280,7 +278,6 @@ module.exports = {
|
||||||
plan =>
|
plan =>
|
||||||
!plan.groupPlan &&
|
!plan.groupPlan &&
|
||||||
!plan.annual &&
|
!plan.annual &&
|
||||||
plan.planCode !== 'personal' &&
|
|
||||||
plan.planCode.indexOf('student') === -1
|
plan.planCode.indexOf('student') === -1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue