Merge branch 'main' of github.com:appwrite/console into feat-mandate-flow

This commit is contained in:
Arman committed 2024-02-13 14:54:19 +01:00
commit 63805945bd
1 file changed
+9 -3
+9 -3
View File
@@ -16,7 +16,7 @@
import { ID } from '@appwrite.io/console';
import { onMount } from 'svelte';
import CreateOrganizationCloud from '../createOrganizationCloud.svelte';
import { tierToPlan, type Tier } from '$lib/stores/billing';
import { tierToPlan, type Tier, plansInfo } from '$lib/stores/billing';
import { createOrganization } from '../wizard/cloudOrganization/store';
import { formatCurrency } from '$lib/helpers/numbers';
@@ -26,8 +26,14 @@
let plan: Tier;
const options = [
{ value: BillingPlan.STARTER, label: `Starter - ${formatCurrency(0)}/month` },
{ value: BillingPlan.PRO, label: `Pro - ${formatCurrency(0)}/month + add-ons` }
{
value: BillingPlan.STARTER,
label: `Starter - ${formatCurrency($plansInfo.get(BillingPlan.STARTER).price)}/month`
},
{
value: BillingPlan.PRO,
label: `Pro - ${formatCurrency($plansInfo.get(BillingPlan.PRO).price)}/month + add-ons`
}
];
onMount(() => {