mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 19:45:35 +01:00
Added revenue screen.
This commit is contained in:
parent
bce6737f29
commit
7662b77ce3
15 changed files with 351 additions and 29 deletions
|
|
@ -5,19 +5,19 @@ import { FilterBar } from '@/components/input/FilterBar';
|
|||
|
||||
export function WebsiteControls({
|
||||
websiteId,
|
||||
showFilter = true,
|
||||
showCompare,
|
||||
allowFilter = true,
|
||||
allowCompare,
|
||||
}: {
|
||||
websiteId: string;
|
||||
showFilter?: boolean;
|
||||
showCompare?: boolean;
|
||||
allowFilter?: boolean;
|
||||
allowCompare?: boolean;
|
||||
}) {
|
||||
return (
|
||||
<Column gap>
|
||||
<Row alignItems="center" justifyContent="space-between" gap="3">
|
||||
{showFilter && <WebsiteFilterButton websiteId={websiteId} />}
|
||||
{allowFilter && <WebsiteFilterButton websiteId={websiteId} />}
|
||||
<Row alignItems="center" gap="3">
|
||||
<WebsiteDateFilter websiteId={websiteId} showCompare={showCompare} />
|
||||
<WebsiteDateFilter websiteId={websiteId} allowCompare={allowCompare} />
|
||||
</Row>
|
||||
</Row>
|
||||
<FilterBar />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue