Skip to content

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

Fixes Typo in Spend Cap Modal (#44319)

TheOtherBrian17259d10053b7
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
index ef0384c7049..6aeb822cf39 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
@@ -171,7 +171,11 @@ const SpendCapSidePanel = () => {
<p className="text-xs pl-4">{item.title}</p>
</Table.td>
<Table.td>
- <p className="text-xs pl-4">{item.plans['pro']}</p>
+ <p className="text-xs pl-4">
+ {Array.isArray(item.plans['pro'])
+ ? item.plans['pro']?.join(', ')
+ : item.plans['pro']}
+ </p>
</Table.td>
</Table.tr>
)