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

[groups] Fix undo/redo handling of addTo/removeFrom group

This commit is contained in:
Nick O'Leary 2020-03-13 23:09:18 +00:00
parent 27c462fee9
commit c9194c3635
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -503,7 +503,7 @@ RED.history = (function() {
}
}
} else if (ev.t == "addToGroup") {
inverse = {
inverseEv = {
t: "removeFromGroup",
dirty: RED.nodes.dirty(),
group: ev.group,
@ -513,7 +513,7 @@ RED.history = (function() {
RED.group.removeFromGroup(ev.group,ev.nodes);
}
} else if (ev.t == "removeFromGroup") {
inverse = {
inverseEv = {
t: "addToGroup",
dirty: RED.nodes.dirty(),
group: ev.group,