The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
papercut: add units to api charts (#42027)
Jordi Enric6fe990c6587e
diff --git a/apps/studio/components/ui/Charts/BarChart.tsx b/apps/studio/components/ui/Charts/BarChart.tsxindex e626d833c46..23a1dc79222 100644--- a/apps/studio/components/ui/Charts/BarChart.tsx+++ b/apps/studio/components/ui/Charts/BarChart.tsx@@ -123,11 +123,7 @@ const BarChart = ({title={title}format={format}customDateFormat={customDateFormat}- highlightedValue={- typeof resolvedHighlightedValue === 'number'- ? numberFormatter(resolvedHighlightedValue, valuePrecision)- : resolvedHighlightedValue- }+ highlightedValue={resolvedHighlightedValue}highlightedLabel={resolvedHighlightedLabel}minimalHeader={minimalHeader}syncId={syncId}diff --git a/apps/studio/components/ui/Charts/ChartHeader.tsx b/apps/studio/components/ui/Charts/ChartHeader.tsxindex 527f8bf4972..4910b8d1711 100644--- a/apps/studio/components/ui/Charts/ChartHeader.tsx+++ b/apps/studio/components/ui/Charts/ChartHeader.tsx@@ -102,7 +102,13 @@ export const ChartHeader = ({return formatBytes(bytesValue, valuePrecision)}- return numberFormatter(value, valuePrecision)+ const formattedValue = numberFormatter(value, valuePrecision)++ if (typeof format === 'string' && format) {+ return `${formattedValue}${format}`+ }++ return formattedValue}useEffect(() => {