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

Ensure unknown nodes removed from outliner when node registers

Fixes #2646
This commit is contained in:
Nick O'Leary 2020-07-10 20:00:18 +01:00
parent 580cc00967
commit 7f671c9f3f
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -1671,6 +1671,7 @@ RED.nodes = (function() {
}
}
reimportList.push(convertNode(n));
RED.events.emit('nodes:remove',n);
});
// Remove any links between nodes that are going to be reimported.