Skip to content

Commit 7ee2935

Browse files
committed
fix: review comments
1 parent 0dcb475 commit 7ee2935

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

src/routes/console/createOrganization.svelte

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
1111
import { ID } from '@appwrite.io/console';
1212
import Alert from '$lib/components/alert.svelte';
13+
import { isCloud } from '$lib/system';
1314
1415
export let show = false;
1516
@@ -44,15 +45,18 @@
4445
</script>
4546

4647
<Modal title="Create new organization" {error} onSubmit={create} size="big" bind:show>
47-
<Alert type="info">
48-
<svelte:fragment slot="title">Get ready for Appwrite Pro</svelte:fragment>
49-
We will soon introduce the much-anticipated Pro plan. Your account will continue to have access
50-
to <b>one free Starter organization</b>. If you manage more than one organization, you will need to
51-
either upgrade to the Pro plan, transfer your projects to a Pro organization, or migrate to self-hosting.
52-
<svelte:fragment slot="buttons">
53-
<Button href="https://appwrite.io/pricing" external text>Learn more</Button>
54-
</svelte:fragment>
55-
</Alert>
48+
{#if isCloud}
49+
<Alert type="info">
50+
<svelte:fragment slot="title">Get ready for Appwrite Pro</svelte:fragment>
51+
We will soon introduce the much-anticipated Pro plan. Your account will continue to have
52+
access to <b>one free Starter organization</b>. If you manage more than one
53+
organization, you will need to either upgrade to the Pro plan, transfer your projects to
54+
a Pro organization, or migrate to self-hosting.
55+
<svelte:fragment slot="buttons">
56+
<Button href="https://appwrite.io/pricing" external text>Learn more</Button>
57+
</svelte:fragment>
58+
</Alert>
59+
{/if}
5660
<FormList>
5761
<InputText
5862
id="organization-name"

0 commit comments

Comments
 (0)