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:
parent
1c44b0bc98
commit
6ef49152f3
@ -1365,11 +1365,6 @@ RED.subflow = (function() {
|
|||||||
ui.type = "input";
|
ui.type = "input";
|
||||||
ui.opts = {types:['str','num','bool','json','bin','env']}
|
ui.opts = {types:['str','num','bool','json','bin','env']}
|
||||||
} else {
|
} else {
|
||||||
var typeOptions = {
|
|
||||||
'input': {types:['str','num','bool','json','bin','env']},
|
|
||||||
'select': {opts:[]},
|
|
||||||
'spinner': {}
|
|
||||||
};
|
|
||||||
if (!ui.opts) {
|
if (!ui.opts) {
|
||||||
ui.opts = (ui.type === "select") ? {opts:[]} : {};
|
ui.opts = (ui.type === "select") ? {opts:[]} : {};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user