Fix env-var config select when multiple defined

This commit is contained in:
Nick O'Leary 2024-09-11 11:28:42 +01:00
parent edc01552f9
commit 2e5a3f4949
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -899,7 +899,7 @@ RED.editor = (function() {
const labelText = RED.editor.envVarList.lookupLabel(labels, labels["en-US"] || tenv.name, locale)
const config = {
env: tenv,
id: '${' + parentEnv[0].name + '}',
id: '${' + tenv.name + '}',
type: type,
label: labelText,
__label__: `[env] ${labelText}`