mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
Metrics components refactoring. New event data page.
This commit is contained in:
parent
4e6d24e932
commit
c865f43b11
47 changed files with 756 additions and 672 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import WebsiteEventData from 'components/pages/websites/WebsiteEventData';
|
||||
import WebsiteEventDataPage from 'components/pages/websites/WebsiteEventDataPage';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function () {
|
||||
|
|
@ -14,7 +14,7 @@ export default function () {
|
|||
|
||||
return (
|
||||
<AppLayout title={formatMessage(labels.websites)}>
|
||||
<WebsiteEventData websiteId={id} />
|
||||
<WebsiteEventDataPage websiteId={id} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
||||
import RealtimePage from 'components/pages/realtime/RealtimePage';
|
||||
|
||||
export default function () {
|
||||
const router = useRouter();
|
||||
|
|
@ -12,7 +12,7 @@ export default function () {
|
|||
|
||||
return (
|
||||
<AppLayout>
|
||||
<RealtimeDashboard websiteId={websiteId} />
|
||||
<RealtimePage websiteId={websiteId} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import WebsiteReports from 'components/pages/websites/WebsiteReports';
|
||||
import WebsiteReportsPage from 'components/pages/websites/WebsiteReportsPage';
|
||||
|
||||
export default function () {
|
||||
const router = useRouter();
|
||||
|
|
@ -12,7 +12,7 @@ export default function () {
|
|||
|
||||
return (
|
||||
<AppLayout>
|
||||
<WebsiteReports websiteId={websiteId} />
|
||||
<WebsiteReportsPage websiteId={websiteId} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue