1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix reference error on deleting tab

This commit is contained in:
Hiroyasu Nishiyama 2019-07-15 11:23:27 +09:00
parent 6ab520984c
commit 25a27733b9

View File

@ -324,7 +324,7 @@ RED.nodes = (function() {
}
function removeWorkspace(id) {
delete workspaces[id];
delete nodeTabMap[ws.id];
delete nodeTabMap[id];
workspacesOrder.splice(workspacesOrder.indexOf(id),1);
var removedNodes = [];