mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix env-var config select when multiple defined
This commit is contained in:
parent
edc01552f9
commit
2e5a3f4949
@ -899,7 +899,7 @@ RED.editor = (function() {
|
|||||||
const labelText = RED.editor.envVarList.lookupLabel(labels, labels["en-US"] || tenv.name, locale)
|
const labelText = RED.editor.envVarList.lookupLabel(labels, labels["en-US"] || tenv.name, locale)
|
||||||
const config = {
|
const config = {
|
||||||
env: tenv,
|
env: tenv,
|
||||||
id: '${' + parentEnv[0].name + '}',
|
id: '${' + tenv.name + '}',
|
||||||
type: type,
|
type: type,
|
||||||
label: labelText,
|
label: labelText,
|
||||||
__label__: `[env] ${labelText}`
|
__label__: `[env] ${labelText}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user