mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update info sidebar on node edit
Fixes #168 Moves info sidebar to its own file so it can be refreshed from other parts of the UI
This commit is contained in:
@@ -39,7 +39,7 @@ RED.nodes = function() {
|
||||
function addNode(n) {
|
||||
if (n._def.category == "config") {
|
||||
configNodes[n.id] = n;
|
||||
RED.configTab.refresh();
|
||||
RED.sidebar.config.refresh();
|
||||
} else {
|
||||
n.dirty = true;
|
||||
nodes.push(n);
|
||||
@@ -58,7 +58,7 @@ RED.nodes = function() {
|
||||
}
|
||||
}
|
||||
if (updatedConfigNode) {
|
||||
RED.configTab.refresh();
|
||||
RED.sidebar.config.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user