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
Add image?.
Brian Cao5390370b3d0f
diff --git a/components/metrics/DevicesTable.js b/components/metrics/DevicesTable.jsindex 30b2a742d..0b8d57086 100644--- a/components/metrics/DevicesTable.js+++ b/components/metrics/DevicesTable.js@@ -15,7 +15,7 @@ export function DevicesTable({ websiteId, ...props }) {label={formatMessage(labels[device] || labels.unknown)}><img- src={`${basePath}/images/device/${device.toLowerCase() || 'unknown'}.png`}+ src={`${basePath}/images/device/${device?.toLowerCase() || 'unknown'}.png`}alt={device}width={16}height={16}diff --git a/components/metrics/OSTable.js b/components/metrics/OSTable.jsindex 02ead27d0..e4bc32340 100644--- a/components/metrics/OSTable.js+++ b/components/metrics/OSTable.js@@ -12,7 +12,7 @@ export function OSTable({ websiteId, ...props }) {<FilterLink id="os" value={os}><imgsrc={`${basePath}/images/os/${- os.toLowerCase().replaceAll(/[^\w]+/g, '-') || 'unknown'+ os?.toLowerCase().replaceAll(/[^\w]+/g, '-') || 'unknown'}.png`}alt={os}width={16}