mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix import of merged flow
This commit is contained in:
		| @@ -1842,6 +1842,8 @@ RED.nodes = (function() { | ||||
|         }); | ||||
|         defaultWorkspace = null; | ||||
|         initialLoad = null; | ||||
|         workspaces = {}; | ||||
|  | ||||
|         RED.nodes.dirty(false); | ||||
|         RED.view.redraw(true, true); | ||||
|         RED.palette.refresh(); | ||||
|   | ||||
| @@ -1411,7 +1411,7 @@ RED.diff = (function() { | ||||
|         // Restore the original flow so subsequent merge resolutions can properly | ||||
|         // identify new-vs-old | ||||
|         RED.nodes.originalFlow(originalFlow); | ||||
|         imported[0].forEach(function(n) { | ||||
|         imported.nodes.forEach(function(n) { | ||||
|             if (nodeChangedStates[n.id] || localChangedStates[n.id]) { | ||||
|                 n.changed = true; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user