Skip to content

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

chore: hide compute usage section for Free Plan (#29385)

Kevin Grüneberg13c83485a254
diff --git a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
index cb935c1be2c..c07f5abd380 100644
--- a/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/Usage.tsx
@@ -225,13 +225,15 @@ const Usage = () => {
currentBillingCycleSelected={currentBillingCycleSelected}
/>
- <Compute
- orgSlug={slug as string}
- projectRef={selectedProjectRef}
- subscription={subscription}
- startDate={startDate}
- endDate={endDate}
- />
+ {subscription?.plan.id !== 'free' && (
+ <Compute
+ orgSlug={slug as string}
+ projectRef={selectedProjectRef}
+ subscription={subscription}
+ startDate={startDate}
+ endDate={endDate}
+ />
+ )}
<Bandwidth
orgSlug={slug as string}