mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 14:05:35 +01:00
Updated date range handling.
This commit is contained in:
parent
6d1603fa28
commit
5ca51b3e8f
19 changed files with 101 additions and 99 deletions
|
|
@ -5,7 +5,7 @@ import { useMessages } from '@/components/hooks';
|
|||
import { Globe, Arrow } from '@/components/icons';
|
||||
import { SectionHeader } from '@/components/common/SectionHeader';
|
||||
import { WebsiteShareForm } from './WebsiteShareForm';
|
||||
import { TrackingCode } from './TrackingCode';
|
||||
import { WebsiteTrackingCode } from './WebsiteTrackingCode';
|
||||
import { WebsiteData } from './WebsiteData';
|
||||
import { WebsiteEditForm } from './WebsiteEditForm';
|
||||
import { LinkButton } from '@/components/common/LinkButton';
|
||||
|
|
@ -23,11 +23,7 @@ export function WebsiteSettings({
|
|||
return (
|
||||
<>
|
||||
<SectionHeader title={website?.name} icon={<Globe />}>
|
||||
<LinkButton
|
||||
variant="primary"
|
||||
href={`/websites/${websiteId}`}
|
||||
target={openExternal ? '_blank' : null}
|
||||
>
|
||||
<LinkButton href={`/websites/${websiteId}`} target={openExternal ? '_blank' : null}>
|
||||
<Icon>
|
||||
<Arrow />
|
||||
</Icon>
|
||||
|
|
@ -45,10 +41,10 @@ export function WebsiteSettings({
|
|||
<WebsiteEditForm websiteId={websiteId} />
|
||||
</TabPanel>
|
||||
<TabPanel id="tracking">
|
||||
<TrackingCode websiteId={websiteId} />
|
||||
<WebsiteTrackingCode websiteId={websiteId} />
|
||||
</TabPanel>
|
||||
<TabPanel id="share">
|
||||
<WebsiteShareForm />
|
||||
<WebsiteShareForm websiteId={websiteId} />
|
||||
</TabPanel>
|
||||
<TabPanel id="data">
|
||||
<WebsiteData websiteId={websiteId} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue