Fix in data processing, correct index
This commit is contained in:
parent
a307e2a4ea
commit
db3589c86d
|
@ -25,7 +25,7 @@ export default class DataAnalysis {
|
|||
newData = allMeasurements;
|
||||
console.log("cache reset");
|
||||
}
|
||||
const allMeasurementsSize = newData.size ? newData.size : newData.length;
|
||||
const allMeasurementsSize = allMeasurements.size ? allMeasurements.size : allMeasurements.length;
|
||||
const newDataArr = (typeof newData.toArray ==="function") ? newData.toArray() : newData;
|
||||
|
||||
// active time
|
||||
|
|
Loading…
Reference in New Issue