mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Make sure, links are visible if visibility is undefined after a node-red update
This commit is contained in:
		@@ -99,8 +99,11 @@
 | 
				
			|||||||
            if (n.visibility === "global") {
 | 
					            if (n.visibility === "global") {
 | 
				
			||||||
                return true;
 | 
					                return true;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            // visibility === "flow"
 | 
					            if (n.visibility === "flow") {
 | 
				
			||||||
            return n.z === node.z;
 | 
					                return n.z === node.z;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            // undefined (after update)
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        let candidateNodesCount = 0;
 | 
					        let candidateNodesCount = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user