forked from MapComplete/MapComplete
		
	Fix import flow, add typing
This commit is contained in:
		
							parent
							
								
									97334fc369
								
							
						
					
					
						commit
						4246221e8e
					
				
					 29 changed files with 396 additions and 309 deletions
				
			
		|  | @ -49,6 +49,9 @@ export class SubstitutedTranslation extends VariableUiElement { | |||
|                 const allElements = SubstitutedTranslation.ExtractSpecialComponents(txt, extraMappings).map( | ||||
|                     proto => { | ||||
|                         if (proto.fixed !== undefined) { | ||||
|                             if(tagsSource === undefined){ | ||||
|                                 return Utils.SubstituteKeys(proto.fixed, undefined) | ||||
|                             } | ||||
|                             return new VariableUiElement(tagsSource.map(tags => Utils.SubstituteKeys(proto.fixed, tags))); | ||||
|                         } | ||||
|                         const viz = proto.special; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue