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

Handle nodes with no wires array

This commit is contained in:
Nick O'Leary 2020-04-06 15:39:48 +01:00
parent 1d417c07cd
commit 2f869a55e2
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -1109,7 +1109,7 @@ RED.nodes = (function() {
defaults: {},
label: "unknown: "+n.type,
labelStyle: "red-ui-flow-node-label-italic",
outputs: n.outputs||n.wires.length,
outputs: n.outputs|| (n.wires && n.wires.length) || 0,
set: registry.getNodeSet("node-red/unknown")
}
} else {