forked from MapComplete/MapComplete
		
	Fix typing error with NSI-question
This commit is contained in:
		
							parent
							
								
									60eeab9aa7
								
							
						
					
					
						commit
						695800b245
					
				
					 1 changed files with 5 additions and 6 deletions
				
			
		| 
						 | 
					@ -973,12 +973,11 @@ export class TagRenderingConfigUtils {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            const clone: TagRenderingConfig = Object.create(config)
 | 
					            const clone: TagRenderingConfig = Object.create(config)
 | 
				
			||||||
            // The original mappings get "priorityIf" set
 | 
					            // The original mappings get "priorityIf" set
 | 
				
			||||||
            const oldMappingsCloned =
 | 
					            const oldMappingsCloned = clone.mappings?.map((m) => (<Mapping> {
 | 
				
			||||||
                clone.mappings?.map((m) => ({
 | 
					 | 
				
			||||||
                ...m,
 | 
					                ...m,
 | 
				
			||||||
                    addExtraTags: "nobrand=",
 | 
					                addExtraTags: [new Tag("nobrand","")],
 | 
				
			||||||
                priorityIf: m.priorityIf ?? TagUtils.Tag("id~*"),
 | 
					                priorityIf: m.priorityIf ?? TagUtils.Tag("id~*"),
 | 
				
			||||||
                })) ?? []
 | 
					            })) ?? [];
 | 
				
			||||||
            clone.mappings = [...oldMappingsCloned, ...extraMappings]
 | 
					            clone.mappings = [...oldMappingsCloned, ...extraMappings]
 | 
				
			||||||
            return clone
 | 
					            return clone
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue