mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 21:45:36 +01:00
Website compare fix. Updated date functions.
This commit is contained in:
parent
5a85433e63
commit
da173779e0
7 changed files with 91 additions and 94 deletions
|
|
@ -16,7 +16,7 @@ export function WebsiteChart({
|
|||
const { startDate, endDate, unit, value } = dateRange;
|
||||
const { data, isLoading, isFetching, error } = useWebsitePageviewsQuery({
|
||||
websiteId,
|
||||
compareMode: compareMode ? dateCompare : undefined,
|
||||
compare: compareMode ? dateCompare : undefined,
|
||||
});
|
||||
const { pageviews, sessions, compare } = (data || {}) as any;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue