Ensure the context menu works after a server is renamed. Fixes #3575

This commit is contained in:
Aditya Toshniwal
2019-01-10 11:52:52 +05:30
committed by Dave Page
parent 01b87d4834
commit f7fa18f827
2 changed files with 2 additions and 1 deletions

View File

@@ -135,7 +135,7 @@ export class Tree {
}
const oldNode = this.findNode(oldNodePath);
if (oldNode !== null) {
oldNode.data = Object.assign({}, data);
oldNode.data = data;
return oldNode;
}