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

Fix recording removed links in edit history

Fixes #3546
This commit is contained in:
Nick O'Leary 2022-04-26 09:13:38 +01:00
parent 3a26c5cd65
commit 15958cd4a3
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -2384,7 +2384,7 @@ RED.view = (function() {
var removedEntities = RED.nodes.remove(node.id);
removedNodes.push(node);
removedNodes = removedNodes.concat(removedEntities.nodes);
addToRemovedLinks(removedNodes.removedLinks);
addToRemovedLinks(removedEntities.links);
if (node.g) {
var group = RED.nodes.group(node.g);
if (selectedGroups.indexOf(group) === -1) {