fix: hardcoded billing plan in estimation box for apply credit

This commit is contained in:
Arman
2024-11-07 17:08:06 +01:00
parent 9a2a946904
commit e19b702374
@@ -189,6 +189,8 @@
$: selectedOrg = $organizationList?.teams?.find(
(team) => team.$id === selectedOrgId
) as Organization;
$: console.log(billingPlan);
</script>
<svelte:head>
@@ -287,7 +289,7 @@
<div class:u-margin-block-start-24={campaign?.template === 'card'}>
<EstimatedTotalBox
fixedCoupon={!!data?.couponData?.code}
billingPlan={BillingPlan.PRO}
{billingPlan}
{collaborators}
bind:couponData
bind:billingBudget>