fix: slef-hosted trying to access billing

This commit is contained in:
Torsten Dittmann committed 2024-02-15 10:47:53 +00:00
1 parent 88f6611317
commit a411fecd1a
1 file changed
+12 -10
+12 -10
View File
@@ -25,16 +25,18 @@
let showCustomId = false;
let plan: Tier;
const options = [
{
value: BillingPlan.STARTER,
label: `Starter - ${formatCurrency($plansInfo.get(BillingPlan.STARTER).price)}/month`
},
{
value: BillingPlan.PRO,
label: `Pro - ${formatCurrency($plansInfo.get(BillingPlan.PRO).price)}/month + add-ons`
}
];
const options = isCloud
? [
{
value: BillingPlan.STARTER,
label: `Starter - ${formatCurrency($plansInfo.get(BillingPlan.STARTER).price)}/month`
},
{
value: BillingPlan.PRO,
label: `Pro - ${formatCurrency($plansInfo.get(BillingPlan.PRO).price)}/month + add-ons`
}
]
: [];
onMount(() => {
if (isCloud) {