Просмотр исходного кода

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
Simon Detheridge 6 лет назад
Родитель
Сommit
34d3671640

+ 1 - 0
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
     )