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

Diff view: subflows can have port labels as well

This commit is contained in:
Nick O'Leary 2017-08-04 14:26:05 +01:00
parent 1671d1f580
commit f808e85da9
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -718,7 +718,7 @@ RED.diff = (function() {
if (def.defaults) { if (def.defaults) {
properties = properties.concat(Object.keys(def.defaults)); properties = properties.concat(Object.keys(def.defaults));
} }
if (node.type !== 'tab' && node.type !== 'subflow') { if (node.type !== 'tab') {
properties = properties.concat(['inputLabels','outputLabels']); properties = properties.concat(['inputLabels','outputLabels']);
} }
properties.forEach(function(d) { properties.forEach(function(d) {