Merge pull request #5072 from node-red/5061-refresh-sidebar-on-lock-action

Refresh config node sidebar when changing lock state of a flow
pull/5078/head
Nick O'Leary 2025-03-06 09:42:30 +00:00 committed by GitHub
commit d847bce8b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -767,6 +767,7 @@ RED.workspaces = (function() {
RED.history.push(historyEvent);
RED.events.emit("flows:change",workspace);
RED.nodes.dirty(true);
RED.sidebar.config.refresh();
RED.nodes.filterNodes({z:workspace.id}).forEach(n => n.dirty = true)
RED.view.redraw(true);
}