mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-02 22:14:43 +01:00
27 lines
732 B
JavaScript
27 lines
732 B
JavaScript
import Report from '../Report';
|
|
import ReportHeader from '../ReportHeader';
|
|
import ReportMenu from '../ReportMenu';
|
|
import ReportBody from '../ReportBody';
|
|
import EventDataParameters from './EventDataParameters';
|
|
import EventDataTable from './EventDataTable';
|
|
import Nodes from 'assets/nodes.svg';
|
|
|
|
const defaultParameters = {
|
|
type: 'event-data',
|
|
parameters: { fields: [], filters: [] },
|
|
};
|
|
|
|
export default function EventDataReport({ reportId }) {
|
|
return (
|
|
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
|
<ReportHeader icon={<Nodes />} />
|
|
<ReportMenu>
|
|
<EventDataParameters />
|
|
</ReportMenu>
|
|
<ReportBody>
|
|
<EventDataTable />
|
|
</ReportBody>
|
|
</Report>
|
|
);
|
|
}
|