Skip to content

Commit cddbf16

Browse files
Merge pull request #1974 from appwrite/fix-change-plan-payments
fix: update Change plan to show Payment box when upgrading
2 parents 16b2278 + 3c8ca4b commit cddbf16

File tree

1 file changed

+1
-2
lines changed
  • src/routes/(console)/organization-[organization]/change-plan

1 file changed

+1
-2
lines changed

src/routes/(console)/organization-[organization]/change-plan/+page.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@
302302
</Layout.Stack>
303303
</Fieldset>
304304

305-
<!-- Show email input if upgrading from free plan -->
306-
{#if selectedPlan !== BillingPlan.FREE && data.organization.billingPlan === BillingPlan.FREE}
305+
{#if isUpgrade}
307306
<Fieldset legend="Payment">
308307
<SelectPaymentMethod
309308
methods={data.paymentMethods}

0 commit comments

Comments
 (0)