Fix event value display.

This commit is contained in:
Mike Cao 2020-12-04 20:45:12 -08:00
parent d8846fa4f0
commit d4bfc84ff3
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export default function EventsTable({ websiteId, ...props }) {
}
const Label = ({ value }) => {
const [event, label] = value.split(':');
const [event, label] = value.split('\t');
return (
<>
<Tag>{event}</Tag>

View File

@ -20,7 +20,7 @@ function getTable(type) {
function getColumn(type) {
if (type === 'event') {
return `concat(event_type, ':', event_value)`;
return `concat(event_type, '\t', event_value)`;
}
return type;
}