fix subtree not updated
This commit is contained in:
1 parent
4c6796a399
commit
7ea6c81b4d
1 file changed
+2
@@ -1001,6 +1001,8 @@ export class Graph {
|
|||||||
} as TreeData;
|
} as TreeData;
|
||||||
fs.writeFileSync(subpath, JSON.stringify(subtreeModel, null, 2));
|
fs.writeFileSync(subpath, JSON.stringify(subtreeModel, null, 2));
|
||||||
data.path = workspace.relative(subpath);
|
data.path = workspace.relative(subpath);
|
||||||
|
this._graph.updateNodeData([node]);
|
||||||
|
this.editor.data.root = this._nodeToData("1");
|
||||||
await this.refresh();
|
await this.refresh();
|
||||||
this._storeHistory();
|
this._storeHistory();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user