Skip to content

Commit 840750a

Browse files
fix(billing): update to include logic
1 parent bc177af commit 840750a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/web/src/app/billing/shared/offboarding-survey.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ export class OffboardingSurveyComponent {
136136
};
137137
}
138138

139-
const isFamilyPlan =
140-
this.dialogParams.plan in
141-
[PlanType.FamiliesAnnually, PlanType.FamiliesAnnually2019, PlanType.FamiliesAnnually2025];
139+
const isFamilyPlan = [
140+
PlanType.FamiliesAnnually,
141+
PlanType.FamiliesAnnually2019,
142+
PlanType.FamiliesAnnually2025,
143+
].includes(this.dialogParams.plan);
142144

143145
return {
144146
value: "too_expensive",

0 commit comments

Comments
 (0)