diff --git a/services/web/app/src/Features/Subscription/PlansHelper.js b/services/web/app/src/Features/Subscription/PlansHelper.js index 527ed2ed6d..e4ea7108fc 100644 --- a/services/web/app/src/Features/Subscription/PlansHelper.js +++ b/services/web/app/src/Features/Subscription/PlansHelper.js @@ -10,6 +10,12 @@ function isProfessionalPlan(planCode) { ) } +function isProfessionalGroupPlan(subscription) { + const isProfessional = isProfessionalPlan(subscription.planCode) + return subscription.groupPlan && isProfessional +} + module.exports = { isProfessionalPlan, + isProfessionalGroupPlan, }