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

remove useless variable definition

This commit is contained in:
Hiroyasu Nishiyama 2019-09-15 23:55:27 +09:00
parent 1c44b0bc98
commit 6ef49152f3

View File

@ -1365,11 +1365,6 @@ RED.subflow = (function() {
ui.type = "input";
ui.opts = {types:['str','num','bool','json','bin','env']}
} else {
var typeOptions = {
'input': {types:['str','num','bool','json','bin','env']},
'select': {opts:[]},
'spinner': {}
};
if (!ui.opts) {
ui.opts = (ui.type === "select") ? {opts:[]} : {};
}