Merge pull request #3605 from node-red/fix-ungroup-history

Remove duplicate history add of ungroup event
This commit is contained in:
Stephen McLaughlin 2022-05-10 08:08:45 +01:00 committed by GitHub
commit 192a4f5e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

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