Skip to content

Commit ce551a7

Browse files
committed
fix: resolve calcValueBands state initialization bug on splice (#9548)
1 parent f6f0556 commit ce551a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/collection/Base.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ class Collection extends Base {
16031603
if (me[updatingIndex] === 0) {
16041604
me.count = me._items.length;
16051605

1606-
me.calcValueBands(index);
1606+
me.calcValueBands(index || 0);
16071607

16081608
me.fire('mutate', {
16091609
addedItems : toAddArray,

0 commit comments

Comments
 (0)