diff --git a/src/routes/(console)/apply-credit/+page.svelte b/src/routes/(console)/apply-credit/+page.svelte index e959522986..876badabf0 100644 --- a/src/routes/(console)/apply-credit/+page.svelte +++ b/src/routes/(console)/apply-credit/+page.svelte @@ -248,8 +248,10 @@ billingPlan = getBillingPlan(); } + $: isNewOrg = selectedOrgId && selectedOrgId !== newOrgId; + $: { - if (selectedOrgId) { + if (isNewOrg) { (async () => { currentPlan = await sdk.forConsole.billing.getOrganizationPlan(selectedOrgId); })(); @@ -363,7 +365,7 @@ {collaborators} bind:couponData bind:billingBudget - organizationId={selectedOrgId}> + organizationId={isNewOrg ? selectedOrgId : null}> {#if campaign?.template === 'review' && (campaign?.cta || campaign?.claimed || campaign?.unclaimed)}
{campaign?.cta}