mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +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 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
Block a user