mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Added revenue screen.
This commit is contained in:
parent
bce6737f29
commit
7662b77ce3
15 changed files with 351 additions and 29 deletions
|
|
@ -19,13 +19,13 @@ export function WebsiteDateFilter({
|
|||
websiteId,
|
||||
showAllTime = true,
|
||||
showButtons = true,
|
||||
showCompare = true,
|
||||
allowCompare = true,
|
||||
}: {
|
||||
websiteId: string;
|
||||
compare?: string;
|
||||
showAllTime?: boolean;
|
||||
showButtons?: boolean;
|
||||
showCompare?: boolean;
|
||||
allowCompare?: boolean;
|
||||
}) {
|
||||
const { dateRange, saveDateRange } = useDateRange(websiteId);
|
||||
const { value, startDate, endDate, offset } = dateRange;
|
||||
|
|
@ -92,7 +92,7 @@ export function WebsiteDateFilter({
|
|||
</Select>
|
||||
</Row>
|
||||
)}
|
||||
{!isAllTime && showCompare && (
|
||||
{!isAllTime && allowCompare && (
|
||||
<TooltipTrigger delay={0}>
|
||||
<Button variant="quiet" onPress={handleCompare}>
|
||||
<Icon fillColor>{compare ? <Icons.Close /> : <Icons.Compare />}</Icon>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue