Skip to content

armgit / umami

Public Imported from GitHub
0

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.

fix: wrap long distinct ids in session info

kyzenfr448f73b95ac5f
diff --git a/src/app/(main)/websites/[websiteId]/sessions/SessionInfo.tsx b/src/app/(main)/websites/[websiteId]/sessions/SessionInfo.tsx
index 8ccaede42..598561290 100644
--- a/src/app/(main)/websites/[websiteId]/sessions/SessionInfo.tsx
+++ b/src/app/(main)/websites/[websiteId]/sessions/SessionInfo.tsx
@@ -14,7 +14,9 @@ export function SessionInfo({ data }) {
return (
<Grid columns="repeat(auto-fit, minmax(200px, 1fr)" gap>
<Info label={t(labels.distinctId)} icon={<KeyRound />}>
- {data?.distinctId}
+ <span style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }}>
+ {data?.distinctId}
+ </span>
</Info>
<Info label={t(labels.lastSeen)} icon={<Calendar />}>