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;
|
||||
fs.writeFileSync(subpath, JSON.stringify(subtreeModel, null, 2));
|
||||
data.path = workspace.relative(subpath);
|
||||
this._graph.updateNodeData([node]);
|
||||
this.editor.data.root = this._nodeToData("1");
|
||||
await this.refresh();
|
||||
this._storeHistory();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user