mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 07:13:37 +01:00
Fix event value display.
This commit is contained in:
parent
d8846fa4f0
commit
d4bfc84ff3
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user