Merge pull request #1955 from node-red-hitachi/subflow-label

Show port label of subflow with input port
This commit is contained in:
Nick O'Leary 2018-11-02 13:59:04 +00:00 committed by GitHub
commit 2e3fd49b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ RED.editor = (function() {
for (i=inputCount;i<childCount;i++) {
$(children[i]).remove();
}
if (outputCount === 0) {
if (inputCount === 0) {
buildLabelRow().appendTo(inputsDiv);
}
}