forked from MapComplete/MapComplete
		
	Simplify image detection
This commit is contained in:
		
							parent
							
								
									64bfcccbdc
								
							
						
					
					
						commit
						701050c93b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -168,10 +168,9 @@ export default class TagRenderingQuestion extends Combine { | |||
|         const ff = TagRenderingQuestion.GenerateFreeform(state, configuration, applicableUnit, tagsSource, feedback); | ||||
| 
 | ||||
|         | ||||
|         const hasImages = applicableMappings.filter(mapping => mapping.then.ExtractImages().length > 0).length > 0 | ||||
|         const hasImages = applicableMappings.findIndex(mapping => mapping.then.icon !== undefined) >= 0 | ||||
|         let inputEls: InputElement<TagsFilter>[]; | ||||
| 
 | ||||
| 
 | ||||
|         const ifNotsPresent = applicableMappings.some(mapping => mapping.ifnot !== undefined) | ||||
| 
 | ||||
|         function allIfNotsExcept(excludeIndex: number): TagsFilter[] { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue