mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +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
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>
|
||||
);
|
||||
}
|
||||
25
pages/settings/reports/index.js
Normal file
25
pages/settings/reports/index.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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();
|
||||
// const router = useRouter();
|
||||
// const { id } = router.query;
|
||||
|
||||
// if (!id) {
|
||||
// return null;
|
||||
// }
|
||||
|
||||
// return <AppLayout title={formatMessage(labels.websites)}>{/* <FunnelPage /> */}</AppLayout>;
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<SettingsLayout>
|
||||
<FunnelPage />
|
||||
</SettingsLayout>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue