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 runtime error when device is null
P-Chan20fa2d8fb204
diff --git a/components/metrics/RealtimeLog.js b/components/metrics/RealtimeLog.jsindex 81e25d2e2..34de4e6a2 100644--- a/components/metrics/RealtimeLog.js+++ b/components/metrics/RealtimeLog.js@@ -137,7 +137,11 @@ export default function RealtimeLog({ data, websites, websiteId }) {),browser: <b>{BROWSERS[browser]}</b>,os: <b>{os}</b>,- device: <b>{intl.formatMessage(devices[device])?.toLowerCase()}</b>,+ device: <b>+ {devices[device]+ ? intl.formatMessage(devices[device]).toLowerCase()+ : intl.formatMessage({ id: 'label.unknown', defaultMessage: 'Unknown' })}+ </b>,}}/>);