Browse Source

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

pull/1886/head
Gabe Kangas 5 years ago
parent
commit
d86ee96a0d
  1. 2
      web/pages/viewer-info.tsx

2
web/pages/viewer-info.tsx

@ -96,7 +96,7 @@ export default function ViewersOverTime() { @@ -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}` : '-',
},
];

Loading…
Cancel
Save