Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fix metrics search when a value is null.
Maxime-Jd1cbbf37c01f
diff --git a/src/components/metrics/MetricsTable.tsx b/src/components/metrics/MetricsTable.tsxindex 6713c6299..63e3a7cd8 100644--- a/src/components/metrics/MetricsTable.tsx+++ b/src/components/metrics/MetricsTable.tsx@@ -90,7 +90,7 @@ export function MetricsTable({items = items.filter(({ x, ...data }) => {const value = formatValue(x, type, data);- return value.toLowerCase().includes(search.toLowerCase());+ return value?.toLowerCase().includes(search.toLowerCase());});}