forked from MapComplete/MapComplete
		
	Add some IDs and validation on IDS
This commit is contained in:
		
							parent
							
								
									4cb09ba8e7
								
							
						
					
					
						commit
						699e609fd7
					
				
					 6 changed files with 20 additions and 285 deletions
				
			
		|  | @ -13,7 +13,7 @@ import {Utils} from "../../Utils"; | |||
|  */ | ||||
| export default class TagRenderingConfig { | ||||
| 
 | ||||
|     readonly id?: string; | ||||
|     readonly id: string; | ||||
|     readonly render?: Translation; | ||||
|     readonly question?: Translation; | ||||
|     readonly condition?: TagsFilter; | ||||
|  | @ -57,6 +57,7 @@ export default class TagRenderingConfig { | |||
|             return; | ||||
|         } | ||||
| 
 | ||||
|          | ||||
|         this.id = json.id ?? ""; | ||||
|         this.render = Translations.T(json.render, context + ".render"); | ||||
|         this.question = Translations.T(json.question, context + ".question"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue