The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: 0 value highlight value
TzeYiing871b0956393a
diff --git a/studio/components/ui/Charts/BarChart.tsx b/studio/components/ui/Charts/BarChart.tsxindex 7970e8f5a64..8d371a1c89a 100644--- a/studio/components/ui/Charts/BarChart.tsx+++ b/studio/components/ui/Charts/BarChart.tsx@@ -43,12 +43,12 @@ const BarChart: React.FC<BarChartProps> = ({const resolvedHighlightedLabel =(focusDataIndex !== null &&data &&- data[focusDataIndex] &&+ data[focusDataIndex] !== undefined &&day(data[focusDataIndex][xAxisKey]).format(customDateFormat)) ||highlightedLabelconst resolvedHighlightedValue =- (focusDataIndex !== null ? data[focusDataIndex]?.[yAxisKey] : null) || highlightedValue+ (focusDataIndex !== null ? data[focusDataIndex]?.[yAxisKey] : highlightedValue)return (<div className={['flex flex-col gap-3', className].join(' ')}>