Fix event value display.
parent
d8846fa4f0
commit
d4bfc84ff3
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue