pull/5113/merge
Dave Conway-Jones 2025-04-21 11:53:13 +00:00 committed by GitHub
commit 2a1550f3f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -151,10 +151,11 @@ module.exports = function(RED) {
if (node.arraySplt === 1) {
m = m[0];
}
RED.util.setMessageProperty(msg,node.property,m);
msg.parts.index = i;
const newmsg = RED.util.cloneMessage(msg)
RED.util.setMessageProperty(newmsg,node.property,m);
newmsg.parts.index = i;
pos += node.arraySplt;
send(RED.util.cloneMessage(msg));
send(newmsg);
}
done();
}