mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +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
@ -19,7 +19,7 @@ export default function EventsTable({ websiteId, ...props }) {
|
||||
|
||||
function handleDataLoad(data) {
|
||||
setEventTypes([...new Set(data.map(({ x }) => x.split('\t')[0]))]);
|
||||
props.onDataLoad(data);
|
||||
props.onDataLoad?.(data);
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user