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

Remove duplicate history add of ungroup event

Fixes #3581
This commit is contained in:
Nick O'Leary 2022-05-09 20:51:17 +01:00 committed by Steve-Mcl
parent a2de514c05
commit 6df7f50f9f

View File

@ -323,9 +323,6 @@ RED.group = (function() {
groups: [ ], groups: [ ],
dirty: RED.nodes.dirty() dirty: RED.nodes.dirty()
} }
RED.history.push(historyEvent);
groups.forEach(function(g) { groups.forEach(function(g) {
newSelection = newSelection.concat(ungroup(g)) newSelection = newSelection.concat(ungroup(g))
historyEvent.groups.push(g); historyEvent.groups.push(g);