umami/components/pages/reports/event-data/EventDataReport.js

27 lines
732 B
JavaScript
Raw Normal View History

2023-05-20 18:02:08 +02:00
import Report from '../Report';
import ReportHeader from '../ReportHeader';
2023-06-03 08:10:59 +02:00
import ReportMenu from '../ReportMenu';
import ReportBody from '../ReportBody';
import EventDataParameters from './EventDataParameters';
2023-07-02 07:02:49 +02:00
import EventDataTable from './EventDataTable';
2023-07-08 05:38:43 +02:00
import Nodes from 'assets/nodes.svg';
2023-05-20 18:02:08 +02:00
2023-06-03 08:10:59 +02:00
const defaultParameters = {
type: 'event-data',
2023-07-08 05:38:43 +02:00
parameters: { fields: [], filters: [] },
2023-06-03 08:10:59 +02:00
};
2023-05-20 18:02:08 +02:00
2023-06-03 08:10:59 +02:00
export default function EventDataReport({ reportId }) {
2023-05-20 18:02:08 +02:00
return (
2023-06-03 08:10:59 +02:00
<Report reportId={reportId} defaultParameters={defaultParameters}>
<ReportHeader icon={<Nodes />} />
<ReportMenu>
<EventDataParameters />
</ReportMenu>
2023-07-02 07:02:49 +02:00
<ReportBody>
<EventDataTable />
</ReportBody>
2023-05-20 18:02:08 +02:00
</Report>
);
}