mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Funnel Table/Chart hooked up.
This commit is contained in:
parent
1130bca195
commit
07cb9f621d
13 changed files with 170 additions and 87 deletions
|
|
@ -40,7 +40,7 @@ export default async (
|
|||
startDate,
|
||||
endDate,
|
||||
urls,
|
||||
windowMinutes: window,
|
||||
windowMinutes: +window,
|
||||
});
|
||||
|
||||
return ok(res, data);
|
||||
|
|
|
|||
16
pages/settings/reports/funnel.js
Normal file
16
pages/settings/reports/funnel.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
import FunnelPage from 'components/pages/reports/FunnelPage';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function DetailsPage() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
return (
|
||||
<AppLayout title={`${formatMessage(labels.settings)} - ${formatMessage(labels.reports)}`}>
|
||||
<SettingsLayout>
|
||||
<FunnelPage />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@ import { useRouter } from 'next/router';
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import FunnelPage from 'components/pages/reports/FunnelPage';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
import SettingsLayout from 'components/layout/SettingsLayout';
|
||||
|
||||
export default function DetailsPage() {
|
||||
// const { formatMessage, labels } = useMessages();
|
||||
|
|
@ -15,8 +16,10 @@ export default function DetailsPage() {
|
|||
// return <AppLayout title={formatMessage(labels.websites)}>{/* <FunnelPage /> */}</AppLayout>;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<FunnelPage />
|
||||
</div>
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<FunnelPage />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue