Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Show a dash when geoip data is not available in the admin. Closes https://github.com/owncast/owncast/issues/427

Gabe Kangasd86ee96a0d88
diff --git a/web/pages/viewer-info.tsx b/web/pages/viewer-info.tsx
index 517c0a1f88..a264ca5b6d 100644
--- a/web/pages/viewer-info.tsx
+++ b/web/pages/viewer-info.tsx
@@ -96,7 +96,7 @@ export default function ViewersOverTime() {
title: "Location",
dataIndex: "geo",
key: "geo",
- render: (geo) => geo && `${geo.regionName}, ${geo.countryCode}`,
+ render: (geo) => geo ? `${geo.regionName}, ${geo.countryCode}` : '-',
},
];