mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Get the env config node from the parent subflow
This commit is contained in:
parent
e48607c743
commit
6d6e6fa416
@ -113,6 +113,10 @@ async function evaluateEnvProperties(flow, env, credentials) {
|
||||
resolve()
|
||||
});
|
||||
}))
|
||||
} else if (type === "conf-type" && /^\${[^}]+}$/.test(value)) {
|
||||
// Get the config node from the parent subflow
|
||||
const name = value.substring(2, value.length - 1);
|
||||
value = flow.getSetting(name);
|
||||
} else {
|
||||
try {
|
||||
value = redUtil.evaluateNodeProperty(value, type, {_flow: flow}, null, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user