mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3547 from node-red/fix-wire-history
Fix recording removed links in edit history
This commit is contained in:
commit
c5efdf5ae3
@ -2384,7 +2384,7 @@ RED.view = (function() {
|
|||||||
var removedEntities = RED.nodes.remove(node.id);
|
var removedEntities = RED.nodes.remove(node.id);
|
||||||
removedNodes.push(node);
|
removedNodes.push(node);
|
||||||
removedNodes = removedNodes.concat(removedEntities.nodes);
|
removedNodes = removedNodes.concat(removedEntities.nodes);
|
||||||
addToRemovedLinks(removedNodes.removedLinks);
|
addToRemovedLinks(removedEntities.links);
|
||||||
if (node.g) {
|
if (node.g) {
|
||||||
var group = RED.nodes.group(node.g);
|
var group = RED.nodes.group(node.g);
|
||||||
if (selectedGroups.indexOf(group) === -1) {
|
if (selectedGroups.indexOf(group) === -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user