mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
parent
082bac8c3a
commit
f8a7835341
@ -112,8 +112,12 @@ class Subflow extends Flow {
|
||||
this.node_map = node_map;
|
||||
this.path = parent.path+"/"+(subflowInstance._alias||subflowInstance.id);
|
||||
|
||||
let id = subflowInstance.id;
|
||||
if (subflowInstance._alias) {
|
||||
id = subflowInstance._alias;
|
||||
}
|
||||
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
||||
this.instanceCredentials = credentials.get(this.id) || {};
|
||||
this.instanceCredentials = credentials.get(id) || {};
|
||||
|
||||
var env = [];
|
||||
if (this.subflowDef.env) {
|
||||
|
Loading…
Reference in New Issue
Block a user