mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge pull request #4734 from GogoVega/fix-sidebar-config
Fix the Sidebar Config is not refreshed after a deploy
This commit is contained in:
commit
d71b22412b
@ -631,6 +631,7 @@ RED.deploy = (function() {
|
|||||||
// Once deployed, cannot undo back to a clean state
|
// Once deployed, cannot undo back to a clean state
|
||||||
RED.history.markAllDirty();
|
RED.history.markAllDirty();
|
||||||
RED.view.redraw();
|
RED.view.redraw();
|
||||||
|
RED.sidebar.config.refresh();
|
||||||
RED.events.emit("deploy");
|
RED.events.emit("deploy");
|
||||||
}).fail(function (xhr, textStatus, err) {
|
}).fail(function (xhr, textStatus, err) {
|
||||||
RED.nodes.dirty(true);
|
RED.nodes.dirty(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user