Fix event value display.

This commit is contained in:
Mike Cao committed 2020-12-04 20:45:12 -08:00
1 parent d8846fa4f0
commit d4bfc84ff3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ export default function EventsTable({ websiteId, ...props }) {
} }
const Label = ({ value }) => { const Label = ({ value }) => {
const [event, label] = value.split(':'); const [event, label] = value.split('\t');
return ( return (
<> <>
<Tag>{event}</Tag> <Tag>{event}</Tag>
+1 -1
View File
@@ -20,7 +20,7 @@ function getTable(type) {
function getColumn(type) { function getColumn(type) {
if (type === 'event') { if (type === 'event') {
return `concat(event_type, ':', event_value)`; return `concat(event_type, '\t', event_value)`;
} }
return type; return type;
} }