mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed default date range handling. Added header to share page.
This commit is contained in:
parent
c5994e5eb6
commit
caf04015bb
6 changed files with 28 additions and 16 deletions
|
|
@ -6,6 +6,7 @@ import { useShareTokenQuery } from '@/components/hooks';
|
|||
import { PageBody } from '@/components/common/PageBody';
|
||||
import { Header } from './Header';
|
||||
import { Footer } from './Footer';
|
||||
import { WebsiteHeader } from '@/app/(main)/websites/[websiteId]/WebsiteHeader';
|
||||
|
||||
export function SharePage({ shareId }) {
|
||||
const { shareToken, isLoading } = useShareTokenQuery(shareId);
|
||||
|
|
@ -19,6 +20,7 @@ export function SharePage({ shareId }) {
|
|||
<PageBody gap>
|
||||
<Header />
|
||||
<WebsiteProvider websiteId={shareToken.websiteId}>
|
||||
<WebsiteHeader showActions={false} />
|
||||
<WebsitePage websiteId={shareToken.websiteId} />
|
||||
</WebsiteProvider>
|
||||
<Footer />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue