fix: plan summary wrong total for free orgs

This commit is contained in:
Arman committed 2024-05-23 00:18:53 +02:00
1 parent 7f0fa477ef
commit d769436cbc
1 file changed
+3 -1
@@ -147,7 +147,9 @@
}}></span>
</span>
<div class="body-text-2 u-margin-inline-start-auto">
{formatCurrency(currentInvoice?.amount ?? 0)}
{$organization?.billingPlan === BillingPlan.STARTER
? formatCurrency(0)
: formatCurrency(currentInvoice?.amount ?? 0)}
</div>
</CollapsibleItem>
</Collapsible>