mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix credential type input item of subflow template
This commit is contained in:
parent
1f5588b803
commit
4bd71da056
@ -94,6 +94,11 @@ RED.editor.envVarList = (function() {
|
|||||||
}
|
}
|
||||||
opt.ui.label = opt.ui.label || {};
|
opt.ui.label = opt.ui.label || {};
|
||||||
opt.ui.type = opt.ui.type || "input";
|
opt.ui.type = opt.ui.type || "input";
|
||||||
|
if ((opt.ui.type === "cred") &&
|
||||||
|
opt.ui.opts &&
|
||||||
|
opt.ui.opts.types) {
|
||||||
|
opt.ui.type = "input";
|
||||||
|
}
|
||||||
|
|
||||||
var uiRow = $('<div/>').appendTo(container).hide();
|
var uiRow = $('<div/>').appendTo(container).hide();
|
||||||
// save current info for reverting on cancel
|
// save current info for reverting on cancel
|
||||||
|
Loading…
Reference in New Issue
Block a user