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
feature(CountriesTable): default nullish labels to 'Unknown'
Alexander Klein14e1366fe4eb
diff --git a/components/metrics/CountriesTable.js b/components/metrics/CountriesTable.jsindex 59d17dfbd..43ca374e9 100644--- a/components/metrics/CountriesTable.js+++ b/components/metrics/CountriesTable.js@@ -10,7 +10,7 @@ export default function CountriesTable({ websiteId, onDataLoad, ...props }) {const countryNames = useCountryNames(locale);function renderLabel({ x }) {- return <div className={locale}>{countryNames[x]}</div>;+ return <div className={locale}>{countryNames[x] ?? 'Unknown'}</div>;}return (