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

Fix serialisation of selection in view

This commit is contained in:
Nick O'Leary 2021-12-07 09:29:11 +00:00
parent 5ea3329b36
commit ecaf866613
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -2075,7 +2075,7 @@ RED.view = (function() {
return value.source.id+":"+value.sourcePort+":"+value.target.id;
} else if (key === 'links') {
return value.map(function(link) {
link.source.id+":"+link.sourcePort+":"+link.target.id;
return link.source.id+":"+link.sourcePort+":"+link.target.id;
});
}
return value;