mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 19:15:37 +01:00
Retention report updates.
This commit is contained in:
parent
b37a1fce63
commit
820ad69d60
7 changed files with 86 additions and 10 deletions
|
|
@ -4,17 +4,18 @@ import Report from '../Report';
|
|||
import ReportHeader from '../ReportHeader';
|
||||
import ReportMenu from '../ReportMenu';
|
||||
import ReportBody from '../ReportBody';
|
||||
import Funnel from 'assets/funnel.svg';
|
||||
import Magnet from 'assets/magnet.svg';
|
||||
import { REPORT_TYPES } from 'lib/constants';
|
||||
|
||||
const defaultParameters = {
|
||||
type: 'retention',
|
||||
type: REPORT_TYPES.retention,
|
||||
parameters: {},
|
||||
};
|
||||
|
||||
export default function RetentionReport({ reportId }) {
|
||||
return (
|
||||
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
||||
<ReportHeader icon={<Funnel />} />
|
||||
<ReportHeader icon={<Magnet />} />
|
||||
<ReportMenu>
|
||||
<RetentionParameters />
|
||||
</ReportMenu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue