forked from MapComplete/MapComplete
		
	Fix overzealous language check for unofficial themes
This commit is contained in:
		
							parent
							
								
									b50788074b
								
							
						
					
					
						commit
						218cf3b151
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -79,7 +79,7 @@ export default class LayoutConfig { | |||
|         } | ||||
|         const context = this.id | ||||
|         this.credits = json.credits | ||||
|         this.language = json.mustHaveLanguage ?? Array.from(Object.keys(json.title)) | ||||
|         this.language = json.mustHaveLanguage ?? ( official ? ["en"] : []) | ||||
|         this.usedImages = Array.from( | ||||
|             new ExtractImages(official, undefined).convertStrict( | ||||
|                 json, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue