mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix flow library in menu to support period characters as flow name (#1320)
This commit is contained in:
		
				
					committed by
					
						 Nick O'Leary
						Nick O'Leary
					
				
			
			
				
	
			
			
			
						parent
						
							1542f73fa5
						
					
				
				
					commit
					ac60725d2a
				
			| @@ -196,7 +196,7 @@ function listFlows(path) { | ||||
|                     if (r.value.fn) { | ||||
|                         var name = r.value.name; | ||||
|                         if (!name) { | ||||
|                             name = r.value.fn.split(".")[0]; | ||||
|                             name = r.value.fn.replace(/\.json$/, ""); | ||||
|                         } | ||||
|                         result.f = result.f || []; | ||||
|                         result.f.push(name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user