Skip to content

Commit 4636f6b

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 b351e9a commit 4636f6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)