mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Need to guard against subflows that doesn't have a set property
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
		| @@ -382,7 +382,7 @@ RED.typeSearch = (function() { | ||||
|         var items = []; | ||||
|         RED.nodes.registry.getNodeTypes().forEach(function(t) { | ||||
|             var def = RED.nodes.getType(t); | ||||
|             if (def.set.enabled && def.category !== 'config' && t !== 'unknown' && t !== 'tab') { | ||||
|             if (def.set?.enabled !== false && def.category !== 'config' && t !== 'unknown' && t !== 'tab') { | ||||
|                 items.push({type:t,def: def, label:getTypeLabel(t,def)}); | ||||
|             } | ||||
|         }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user