mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update nodeTabMap when replacing unknown nodes
This commit is contained in:
parent
5c06761b1a
commit
e7f942eda7
@ -1434,6 +1434,9 @@ RED.nodes = (function() {
|
|||||||
delete configNodes[n.id];
|
delete configNodes[n.id];
|
||||||
} else {
|
} else {
|
||||||
nodes.splice(nodes.indexOf(n),1);
|
nodes.splice(nodes.indexOf(n),1);
|
||||||
|
if (nodeTabMap[n.z]) {
|
||||||
|
delete nodeTabMap[n.z][n.id];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
reimportList.push(convertNode(n));
|
reimportList.push(convertNode(n));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user