Skip to content

Commit 4acc38f

Browse files
authored
fix: enterprise plan filter
Signed-off-by: Ahmad Nassri <[email protected]>
1 parent 9cb713b commit 4acc38f

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
@@ -16,5 +16,5 @@ export function getOrgSlugs(orgs: Organizations): string[] {
1616
}
1717

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

0 commit comments

Comments
 (0)