mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
This commit is contained in:
parent
cc1c87387b
commit
aee531bf16
@ -508,7 +508,10 @@ RED.subflow = (function() {
|
||||
var activeSubflow = RED.nodes.subflow(id);
|
||||
|
||||
RED.nodes.eachNode(function(n) {
|
||||
if (n.z === id || (!keepInstanceNodes && n.type === "subflow:" + id)) {
|
||||
if (!keepInstanceNodes && n.type == "subflow:"+id) {
|
||||
removedNodes.push(n);
|
||||
}
|
||||
if (n.z == id) {
|
||||
RED.nodes.updateConfigNodeUsers(n, { action: "remove" });
|
||||
removedNodes.push(n);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user