From 80bbc1286d04da7384364cc3fd0c05ee42ba4f83 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 30 May 2024 15:16:44 +0200 Subject: [PATCH] fix: form component not loading correctly --- src/routes/console/apply-credit/+page.svelte | 31 ++++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/routes/console/apply-credit/+page.svelte b/src/routes/console/apply-credit/+page.svelte index a80c4c5c1..43f97d579 100644 --- a/src/routes/console/apply-credit/+page.svelte +++ b/src/routes/console/apply-credit/+page.svelte @@ -160,20 +160,18 @@ Apply credits - {#if $organizationList?.total} +
- - - {/if} - {#if selectedOrgId && (selectedOrg?.billingPlan !== BillingPlan.PRO || !selectedOrg?.paymentMethodId)} - - + {#if $organizationList?.total} + + {/if} + {#if selectedOrgId && (selectedOrg?.billingPlan !== BillingPlan.PRO || !selectedOrg?.paymentMethodId)} {#if selectedOrgId === newOrgId} - -
- {/if} + {/if} + + +