mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js
This commit is contained in:
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…
x
Reference in New Issue
Block a user