We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5c80c commit 8fcca3eCopy full SHA for 8fcca3e
src/ide.ts
@@ -2310,6 +2310,7 @@ export class IDE {
2310
neueNode[attr] = navNode[attr];
2311
}
2312
neueNode.id = neueId;
2313
+ neueNode.name = neueId.split("/").pop();
2314
neueNode.children = [];
2315
this.navigator.nodes[neueId] = neueNode;
2316
@@ -2325,6 +2326,9 @@ export class IDE {
2325
2326
2327
this.saveDocument();
2328
this.navigator.loadDocument(neueId, neueId);
2329
+
2330
+ // @FIXME: Will break in multi-workspace.
2331
+ this.navigator.nodes[this.navigator.rootId].children.push(neueId);
2332
2333
2334
saveToGist() {
0 commit comments