mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Refresh context sidebar tab based on selection
This commit is contained in:
@@ -84,6 +84,7 @@ function clean(flowConfig) {
|
||||
module.exports = {
|
||||
init: function(settings) {
|
||||
globalContext = createContext("global",settings.functionGlobalContext || {});
|
||||
contexts['global'] = globalContext;
|
||||
},
|
||||
get: getContext,
|
||||
delete: deleteContext,
|
||||
|
@@ -167,6 +167,8 @@ module.exports = {
|
||||
createNode: createNode,
|
||||
getNode: flows.get,
|
||||
eachNode: flows.eachNode,
|
||||
getContext: context.get,
|
||||
|
||||
|
||||
paletteEditorEnabled: registry.paletteEditorEnabled,
|
||||
installModule: installModule,
|
||||
|
Reference in New Issue
Block a user