mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
New compare page.
This commit is contained in:
parent
08f9adaddf
commit
3f167e05ba
17 changed files with 151 additions and 127 deletions
|
|
@ -10,12 +10,10 @@ export function PixelControls({
|
|||
allowFilter = true,
|
||||
allowDateFilter = true,
|
||||
allowMonthFilter,
|
||||
allowCompare,
|
||||
allowDownload = false,
|
||||
}: {
|
||||
pixelId: string;
|
||||
allowFilter?: boolean;
|
||||
allowCompare?: boolean;
|
||||
allowDateFilter?: boolean;
|
||||
allowMonthFilter?: boolean;
|
||||
allowDownload?: boolean;
|
||||
|
|
@ -24,13 +22,7 @@ export function PixelControls({
|
|||
<Column gap>
|
||||
<Row alignItems="center" justifyContent="space-between" gap="3">
|
||||
{allowFilter ? <WebsiteFilterButton websiteId={websiteId} /> : <div />}
|
||||
{allowDateFilter && (
|
||||
<WebsiteDateFilter
|
||||
websiteId={websiteId}
|
||||
allowCompare={allowCompare}
|
||||
showAllTime={false}
|
||||
/>
|
||||
)}
|
||||
{allowDateFilter && <WebsiteDateFilter websiteId={websiteId} showAllTime={false} />}
|
||||
{allowDownload && <ExportButton websiteId={websiteId} />}
|
||||
{allowMonthFilter && <WebsiteMonthSelect websiteId={websiteId} />}
|
||||
</Row>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue