๐:-1
It might because of this:
currentDatasets[idx].data.splice(retainedDataset.data.length)
You should have a check on retainedDataset.data
also:
if (retainedDataset && retainedDataset.data) { ... }
๐:-1
It might because of this:
currentDatasets[idx].data.splice(retainedDataset.data.length)
You should have a check on retainedDataset.data
also:
if (retainedDataset && retainedDataset.data) { ... }