From e7f942eda753ad9da0c53162d209baee2fd3b826 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 31 Mar 2020 15:34:48 +0100 Subject: [PATCH] Update nodeTabMap when replacing unknown nodes --- packages/node_modules/@node-red/editor-client/src/js/nodes.js | 3 +++ 1 file changed, 3 insertions(+) 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 5c0778fba..61a5ae806 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 @@ -1434,6 +1434,9 @@ RED.nodes = (function() { delete configNodes[n.id]; } else { nodes.splice(nodes.indexOf(n),1); + if (nodeTabMap[n.z]) { + delete nodeTabMap[n.z][n.id]; + } } reimportList.push(convertNode(n)); });