Skip to content

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

Fix billing and usage MAU units

Joshen Lim2a545f106796
diff --git a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
index 6dafbbe63ed..0350719dc31 100644
--- a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
+++ b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
@@ -144,7 +144,11 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
}
/>
) : (
- <span>{formatBytes(featureUsage.usage)}</span>
+ <span>
+ {feature.units === 'bytes'
+ ? formatBytes(featureUsage.usage)
+ : ''}
+ </span>
)}
</td>
</>