Set the proper parents for new node paths - fixes T2763

This commit is contained in:
Logan Smyth
2015-12-05 15:57:37 -08:00
parent 412c65deb3
commit f37acd293c
4 changed files with 32 additions and 2 deletions

View File

@@ -49,8 +49,8 @@ export function _containerInsert(from, nodes) {
paths.push(path);
} else {
paths.push(NodePath.get({
parentPath: this,
parent: node,
parentPath: this.parentPath,
parent: this.parent,
container: this.container,
listKey: this.listKey,
key: to