Skip to content

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

fix(studio): comma formatting for auth overview numbers (#39838)

kemal.earthb8bc7ffc1884
diff --git a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx
index 0ba0062ea14..2da5ec03eaf 100644
--- a/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx
+++ b/apps/studio/components/interfaces/Auth/Overview/OverviewUsage.tsx
@@ -59,7 +59,11 @@ export const StatCard = ({
: 'text-brand'
: getChangeColor(previous)
const formattedCurrent =
- suffix === 'ms' ? current.toFixed(2) : suffix === '%' ? current.toFixed(1) : Math.round(current)
+ suffix === 'ms'
+ ? current.toFixed(2)
+ : suffix === '%'
+ ? current.toFixed(1)
+ : Math.round(current).toLocaleString()
const signChar = previous > 0 ? '+' : previous < 0 ? '-' : ''
return (