mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #4546 from node-red/4545-importing-duplicate-subflow
Handle importing flow with existing subflow and instance node
This commit is contained in:
		| @@ -2217,7 +2217,7 @@ RED.nodes = (function() { | ||||
|                                 set: registry.getNodeSet("node-red/unknown") | ||||
|                             } | ||||
|                         } else { | ||||
|                             if (createNewIds || options.importMap[n.id] === "copy") { | ||||
|                             if (subflow_denylist[parentId] || createNewIds || options.importMap[n.id] === "copy") { | ||||
|                                 parentId = subflow.id; | ||||
|                                 node.type = "subflow:"+parentId; | ||||
|                                 node._def = registry.getNodeType(node.type); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user