1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure sf instance nodes update in outliner when import-replace sf

This commit is contained in:
Nick O'Leary 2020-09-18 20:56:16 +01:00
parent a48f0827ae
commit 041feb4e86
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -1020,6 +1020,11 @@ RED.nodes = (function() {
}
}
})
newSubflowIds.forEach(function(id) {
var n = newSubflows[id];
RED.events.emit("subflows:change",n);
})
// Just in case the imported subflow changed color.
RED.utils.clearNodeColorCache();