mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Updated metrics components for compare mode.
This commit is contained in:
parent
6b03935fca
commit
df66acaacf
117 changed files with 602 additions and 513 deletions
|
|
@ -92,13 +92,13 @@ async function clickhouseQuery(
|
|||
`,
|
||||
params,
|
||||
).then(result => {
|
||||
return Object.values(result).map(n => {
|
||||
return Object.values(result).map((a: any) => {
|
||||
return {
|
||||
pageviews: Number(n.pageviews),
|
||||
visitors: Number(n.visitors),
|
||||
visits: Number(n.visits),
|
||||
bounces: Number(n.bounces),
|
||||
totaltime: Number(n.totaltime),
|
||||
pageviews: Number(a.pageviews),
|
||||
visitors: Number(a.visitors),
|
||||
visits: Number(a.visits),
|
||||
bounces: Number(a.bounces),
|
||||
totaltime: Number(a.totaltime),
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue