hide create button if create org disable and bump version

This commit is contained in:
Milo Schwartz
2025-01-09 23:39:45 -05:00
parent 6c813186b8
commit fcc6cad6d7
2 changed files with 2 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ export default async function Page(props: {
<div className="w-full max-w-md mx-auto md:mt-32 mt-4">
<OrganizationLanding
disableCreateOrg={env.flags.disableUserCreateOrg && !user.serverAdmin}
organizations={orgs.map((org) => ({
name: org.name,
id: org.orgId