From cdf0e81c42545701893f4643106476ec698a9641 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 6 Jan 2026 19:37:09 +0400 Subject: [PATCH] Conditionally render Create Organization button --- .../(console)/account/organizations/+page.svelte | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/routes/(console)/account/organizations/+page.svelte b/src/routes/(console)/account/organizations/+page.svelte index 389113c7bc..f02940caf0 100644 --- a/src/routes/(console)/account/organizations/+page.svelte +++ b/src/routes/(console)/account/organizations/+page.svelte @@ -23,6 +23,7 @@ import { Icon, Tooltip, Typography } from '@appwrite.io/pink-svelte'; import { IconPlus } from '@appwrite.io/pink-icons-svelte'; import { isFreePlan } from '$lib/helpers/billing'; + import { resolvedProfile } from '$lib/profiles/index.svelte'; const { data @@ -97,11 +98,12 @@
Organizations - - + {#if resolvedProfile.showCreateOrganization} + + {/if}
{#if data.organizations.teams.length}