forked from MapComplete/MapComplete
		
	Split wikidata helper into languages, fixes #893
This commit is contained in:
		
							parent
							
								
									bb59e89854
								
							
						
					
					
						commit
						ae5f043b3d
					
				
					 3 changed files with 173 additions and 150 deletions
				
			
		|  | @ -154,7 +154,7 @@ export default class TagRenderingConfig { | |||
|             } | ||||
| 
 | ||||
| 
 | ||||
|             if (!ValidatedTextField.ForType(this.freeform.key) === undefined) { | ||||
|             if (this.freeform.type !== undefined && ValidatedTextField.AvailableTypes().indexOf(this.freeform.type) < 0) { | ||||
|                 const knownKeys = ValidatedTextField.AvailableTypes().join(", "); | ||||
|                 throw `Freeform.key ${this.freeform.key} is an invalid type. Known keys are ${knownKeys}` | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue