Skip to content

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

fix: log drain pricing info (#35514)

Alaister Young47159cad867e
diff --git a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
index 01c6f99de2c..1b5b6d36e9c 100644
--- a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
+++ b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx
@@ -542,8 +542,8 @@ export function LogDrainDestinationSheetForm({
<li className="text-brand-link text-base" translate="no">
$60 per drain per month
</li>
- <li translate="no">$0.20 per million events</li>
- <li translate="no">$0.09 per GB egress</li>
+ <li translate="no">+ $0.20 per million events</li>
+ <li translate="no">+ $0.09 per GB egress</li>
</ul>
</FormItemLayout>
</SheetSection>
diff --git a/apps/www/components/Pricing/PricingTableRow.tsx b/apps/www/components/Pricing/PricingTableRow.tsx
index 39f8f6b3fd8..4ea9e4f01de 100644
--- a/apps/www/components/Pricing/PricingTableRow.tsx
+++ b/apps/www/components/Pricing/PricingTableRow.tsx
@@ -179,9 +179,12 @@ export const PricingTableRowDesktop = (props: any) => {
)}
{typeof planValue === 'string' ? planValue : planValue[0]}
</span>
- {typeof planValue !== 'string' && (
- <span className="text-lighter leading-4">{planValue[1]}</span>
- )}
+ {Array.isArray(planValue) &&
+ planValue.slice(1).map((val, idx) => (
+ <span key={`planval_${i}_${idx}`} className="text-lighter leading-4">
+ {val}
+ </span>
+ ))}
</div>
)}
</td>
@@ -246,9 +249,12 @@ export const PricingTableRowMobile = (props: any) => {
? feat.plans[plan]
: feat.plans[plan][0]}
</span>
- {typeof feat.plans[plan] !== 'string' && (
- <span className="text-lighter leading-5">{feat.plans[plan][1]}</span>
- )}
+ {Array.isArray(feat.plans[plan]) &&
+ feat.plans[plan].slice(1).map((val, idx) => (
+ <span key={`planval_mobile_${i}_${idx}`} className="text-lighter leading-5">
+ {val}
+ </span>
+ ))}
</span>
)}
</td>
diff --git a/packages/shared-data/pricing.ts b/packages/shared-data/pricing.ts
index 9df96c552d7..a2d6c4ac40a 100644
--- a/packages/shared-data/pricing.ts
+++ b/packages/shared-data/pricing.ts
@@ -591,8 +591,8 @@ export const pricing: Pricing = {
pro: false,
team: [
'$60 per drain per month',
- 'and $0.20 per Million processed',
- 'and $0.09 per GB bandwidth',
+ '+ $0.20 per million events',
+ '+ $0.09 per GB bandwidth',
],
enterprise: 'Custom',
},