Skip to content

Commit 7431196

Browse files
ahmadnassrijdalton
andcommitted
fix: enterprise plan filter (#785)
Signed-off-by: Ahmad Nassri <email@ahmadnassri.com> Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
1 parent 338056b commit 7431196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/organization.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export function getOrgSlugs(orgs: Organizations): string[] {
1414
}
1515

1616
export function hasEnterpriseOrgPlan(orgs: Organizations): boolean {
17-
return orgs.some(o => o.plan === 'enterprise')
17+
return orgs.some(o => o.plan.includes('enterprise'))
1818
}

0 commit comments

Comments
 (0)