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 5b11ed3 commit 12c06eeCopy full SHA for 12c06ee
fusion-studio-extension/src/browser/core.ts
@@ -1045,11 +1045,8 @@ export class FSCore {
1045
const parent = (node.parent as FSCollectionNode);
1046
const uri = parent.uri + TRAILING_SYMBOL + name;
1047
const collection = await FSApi.newCollection(node.connectionNode.connection, uri);
1048
- node.nodeName = name;
1049
- node.collection = collection;
1050
- // (node as any)['id'] = this.itemID(parent.connectionNode.connection, collection),
1051
- node.link = FS_RESOURCE_SCHEME + ':' + collection.name,
1052
- node.uri = uri;
+ this.removeNode(node);
+ this.addCollection(parent, collection);
1053
this.setRename();
1054
node.isNew = false;
1055
return true;
0 commit comments