mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
fix comparison for d in generateTimeSeries
This commit is contained in:
parent
b777441788
commit
ce1120c3ff
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ export function generateTimeSeries(
|
|||
return timeseries.map(t => {
|
||||
const { x, y, d } = lookup.get(t) || {};
|
||||
|
||||
return { x: t, d: d || x, y: y ?? null };
|
||||
return { x: t, d: d ?? x, y: y ?? null };
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue