From 886460b9c53f01ed2d1ae8569f7c2101ce447b10 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 24 Dec 2025 15:59:20 +0400 Subject: [PATCH] Add showCreateOrganization flag to profiles --- src/lib/profiles/index.svelte.ts | 3 +++ .../organization-[organization]/header.svelte | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/lib/profiles/index.svelte.ts b/src/lib/profiles/index.svelte.ts index 070704703d..3c7cbcda70 100644 --- a/src/lib/profiles/index.svelte.ts +++ b/src/lib/profiles/index.svelte.ts @@ -45,6 +45,7 @@ export type Profile = { showGeneralAvailability: boolean; showConnectProjectOnToolbar: boolean; showProgressBar: boolean; + showCreateOrganization: boolean; services: { 'get-started': boolean; overview: boolean; @@ -108,6 +109,7 @@ export const base: Profile = { showGeneralAvailability: true, showConnectProjectOnToolbar: true, showProgressBar: true, + showCreateOrganization: true, services: { 'get-started': true, overview: true, @@ -199,6 +201,7 @@ export const studio: Profile = { showGeneralAvailability: false, showConnectProjectOnToolbar: false, showProgressBar: false, + showCreateOrganization: false, services: { 'get-started': false, overview: false, diff --git a/src/routes/(console)/organization-[organization]/header.svelte b/src/routes/(console)/organization-[organization]/header.svelte index 3f7e6b6218..140d43d2bf 100644 --- a/src/routes/(console)/organization-[organization]/header.svelte +++ b/src/routes/(console)/organization-[organization]/header.svelte @@ -138,14 +138,16 @@ {/if} {/if} - + {#if resolvedProfile.showCreateOrganization} + + {/if}