fix comparison for d in generateTimeSeries
This commit is contained in:
1 parent
b777441788
commit
ce1120c3ff
1 file changed
+1
-1
+1
-1
@@ -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 };
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user