Revert "Fix: Multiregion project creation"

This commit is contained in:
Torsten Dittmann
2025-04-15 20:21:42 +02:00
committed by GitHub
parent 0236f7724d
commit dc88b368f2
@@ -9,8 +9,8 @@
import type { Models } from '@appwrite.io/console';
import { page } from '$app/stores';
import { regions } from '$lib/stores/organization';
// import { goto } from '$app/navigation';
// import { upgradeURL } from '$lib/stores/billing';
import { goto } from '$app/navigation';
import { upgradeURL } from '$lib/stores/billing';
let prefs: Models.Preferences;
@@ -84,7 +84,7 @@
name="region"
bind:group={$createProject.region}
value={region.$id}
disabled={region.disabled || !region.available}
disabled={region.disabled}
autofocus={index === 0}>
<!-- focus first item so enter key works! -->
<div
@@ -127,10 +127,6 @@
name={region.name} />
{region.name}
<!--
Add when multiregion is officially released to public
When backend sends available=true for nyc and syd for Pro/Scale/Enterprise users
{#if !region.available}
<Pill
button
@@ -139,7 +135,6 @@
<span class="text">Upgrade</span>
</Pill>
{/if}
-->
{/if}
</div>
</RegionCard>