mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Merge pull request #496 from gnarlex/fix-event-details
fix: event table fails to render in detail view
This commit is contained in:
commit
07754169ab
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export default function EventsTable({ websiteId, ...props }) {
|
||||||
|
|
||||||
function handleDataLoad(data) {
|
function handleDataLoad(data) {
|
||||||
setEventTypes([...new Set(data.map(({ x }) => x.split('\t')[0]))]);
|
setEventTypes([...new Set(data.map(({ x }) => x.split('\t')[0]))]);
|
||||||
props.onDataLoad(data);
|
props.onDataLoad?.(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue