Show a dash when geoip data is not available in the admin. Closes https://github.com/owncast/owncast/issues/427
This commit is contained in:
@@ -96,7 +96,7 @@ export default function ViewersOverTime() {
|
|||||||
title: "Location",
|
title: "Location",
|
||||||
dataIndex: "geo",
|
dataIndex: "geo",
|
||||||
key: "geo",
|
key: "geo",
|
||||||
render: (geo) => geo && `${geo.regionName}, ${geo.countryCode}`,
|
render: (geo) => geo ? `${geo.regionName}, ${geo.countryCode}` : '-',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user