From b42fff105509df34d3be1f3c46a1125b7e1c6437 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Fri, 13 Sep 2019 22:49:48 +0900 Subject: [PATCH] Allow SUBFLOW UI label row without variable name --- .../node_modules/@node-red/editor-client/src/js/ui/subflow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js index ed7cf134c..50a4e2020 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -1493,7 +1493,8 @@ RED.subflow = (function() { var entry = $(this); var item = entry.data('data'); var name = (item.parent?item.name:item.nameField.val()).trim(); - if (name !== "") { + if ((name !== "") || + (item.ui && (item.ui.type === "none"))) { var valueInput = item.valueField; var value = valueInput.typedInput("value"); var type = valueInput.typedInput("type");