mirror of https://github.com/node-red/node-red.git
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js
parent
6194285b6e
commit
0b09cf5fa9
|
|
@ -2336,7 +2336,7 @@ RED.nodes = (function() {
|
|||
|
||||
// The node declares outputs in its defaults, but has not got a valid value
|
||||
// Defer to the length of the wires array
|
||||
if (node.hasOwnProperty('wires'))
|
||||
if (node.hasOwnProperty('wires')) {
|
||||
if (isNaN(node.outputs)) {
|
||||
node.outputs = node.wires.length;
|
||||
} else if (node.wires.length > node.outputs) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue