From 25a27733b906646ce099da59c2786ee441ed8f61 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Mon, 15 Jul 2019 11:23:27 +0900 Subject: [PATCH] fix reference error on deleting tab --- packages/node_modules/@node-red/editor-client/src/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js index 63027aed1..c1a8e42a9 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/nodes.js +++ b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -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 = [];