Fix multi-level sequences of split/join nodes

This commit is contained in:
Nick O'Leary
2016-06-13 17:43:22 +01:00
parent 8fe07e0f07
commit 3ad9053d65
2 changed files with 24 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ module.exports = function(RED) {
RED.util.setMessageProperty(group.msg,node.property,group.payload);
}
if (group.msg.hasOwnProperty('parts') && group.msg.parts.hasOwnProperty('parts')) {
group.msg.parts = group.msg.parts;
group.msg.parts = group.msg.parts.parts;
} else {
delete group.msg.parts;
}