mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
36e1b2ba08
commit
d1c42262d6
@ -44,10 +44,10 @@ function getContext(localId,flowId) {
|
|||||||
var newContext = createContext(contextId);
|
var newContext = createContext(contextId);
|
||||||
if (flowId) {
|
if (flowId) {
|
||||||
newContext.flow = getContext(flowId);
|
newContext.flow = getContext(flowId);
|
||||||
|
}
|
||||||
if (globalContext) {
|
if (globalContext) {
|
||||||
newContext.global = globalContext;
|
newContext.global = globalContext;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
contexts[contextId] = newContext;
|
contexts[contextId] = newContext;
|
||||||
return newContext;
|
return newContext;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user