Skip to content

Commit 2056c01

Browse files
committed
Bugfix for flitbit#10
[fixed problem with nested arrays](flitbit#10)
1 parent cfe936d commit 2056c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
case 'A':
155155
// Array was modified...
156156
// it will be an array...
157-
applyArrayChange(it, change.index, change.item);
157+
applyArrayChange(it[change.path[i]], change.index, change.item);
158158
break;
159159
case 'D':
160160
// Item was deleted...

0 commit comments

Comments
 (0)