forked from MapComplete/MapComplete
		
	Attempt to fix MapComplete/MapComplete#2300
This commit is contained in:
		
							parent
							
								
									3e3b4b9420
								
							
						
					
					
						commit
						a38ff16ffe
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -214,9 +214,7 @@ export default class NameSuggestionIndex {
 | 
			
		|||
            for (const nsiItem of actualBrands) {
 | 
			
		||||
                const tags = nsiItem.tags
 | 
			
		||||
                const frequency = frequencies[nsiItem.displayName]
 | 
			
		||||
                const iconUrl = this.getIconExternalUrl(nsiItem, type)
 | 
			
		||||
                const hasIcon = iconUrl !== undefined
 | 
			
		||||
                const icon = hasIcon ? this.getIconUrl(nsiItem) : undefined
 | 
			
		||||
                const icon = this.getIconUrl(nsiItem)
 | 
			
		||||
                mappings.push({
 | 
			
		||||
                    if: new Tag(type, tags[type]),
 | 
			
		||||
                    addExtraTags: Object.keys(tags)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue