Skip to content

Commit 0965de9

Browse files
author
markw65
committed
Fix early exit from clearStacks
Fixes #12154
1 parent 2898a6d commit 0965de9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/core.datasetController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function clearStacks(meta, items) {
217217
for (const parsed of items) {
218218
const stacks = parsed._stacks;
219219
if (!stacks || stacks[axis] === undefined || stacks[axis][datasetIndex] === undefined) {
220-
return;
220+
continue;
221221
}
222222
delete stacks[axis][datasetIndex];
223223
if (stacks[axis]._visualValues !== undefined && stacks[axis]._visualValues[datasetIndex] !== undefined) {

0 commit comments

Comments
 (0)