Skip to content

Commit 0b1f9b9

Browse files
committed
Merge pull request #111 from louisptremblay/master
Use "set" instead of "splice" for child changed
2 parents 3c9e491 + 7d71b08 commit 0b1f9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ <h4>[[dinosaur.__firebaseKey__]]</h4>
609609

610610
this._valueMap[oldValue.__firebaseKey__] = null;
611611
this._valueMap[value.__firebaseKey__] = value;
612-
this.splice('data', this.data.indexOf(oldValue), 1, value);
612+
this.set('data.' + this.data.indexOf(oldValue), value);
613613
});
614614
},
615615

0 commit comments

Comments
 (0)