fix comparison for d in generateTimeSeries
This commit is contained in:
@@ -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