Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: spend cap side panel costs

Kevin Grüneberg03cfc2fd5274
diff --git a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx
index 69612617741..8d6cbb25ca9 100644
--- a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx
+++ b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx
@@ -187,7 +187,7 @@ const SpendCapSidePanel = () => {
</Table.td>
<Table.td>
<p className="text-xs pl-4">
- {item.plans[subscription?.plan?.id || 'pro']}
+ {item.plans['pro']}
</p>
</Table.td>
</Table.tr>
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx
index b1b9673dde4..447099226ac 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/CostControl/SpendCapSidePanel.tsx
@@ -187,9 +187,7 @@ const SpendCapSidePanel = () => {
<p className="text-xs pl-4">{item.title}</p>
</Table.td>
<Table.td>
- <p className="text-xs pl-4">
- {item.plans[subscription?.plan?.id || 'pro']}
- </p>
+ <p className="text-xs pl-4">{item.plans['pro']}</p>
</Table.td>
</Table.tr>
)