mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
MySQL query optimization. Added loading component.
This commit is contained in:
parent
a7e7469d22
commit
ccb98f836f
13 changed files with 158 additions and 109 deletions
|
|
@ -42,7 +42,7 @@ export default function EventsChart({ websiteId, startDate, endDate, unit }) {
|
|||
unit,
|
||||
tz: getTimezone(),
|
||||
});
|
||||
console.log({ data });
|
||||
|
||||
const map = data.reduce((obj, { x, t, y }) => {
|
||||
if (!obj[x]) {
|
||||
obj[x] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue