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:
parent
a48f0827ae
commit
041feb4e86
@ -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.
|
// Just in case the imported subflow changed color.
|
||||||
RED.utils.clearNodeColorCache();
|
RED.utils.clearNodeColorCache();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user