Ensure subflow change state is cleared after deploy

This commit is contained in:
Nick O'Leary 2024-04-23 21:17:35 +02:00
parent de7339ae97
commit 960af87fb0
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -612,7 +612,10 @@ RED.deploy = (function() {
}
});
RED.nodes.eachSubflow(function (subflow) {
subflow.changed = false;
if (subflow.changed) {
subflow.changed = false;
RED.events.emit("subflows:change", subflow);
}
});
RED.nodes.eachWorkspace(function (ws) {
if (ws.changed || ws.added) {