forked from MapComplete/MapComplete
		
	Fix crash in studio
This commit is contained in:
		
							parent
							
								
									0a1c90be9e
								
							
						
					
					
						commit
						a3f204777a
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -28,6 +28,10 @@ | |||
|   } | ||||
| 
 | ||||
|   let configJson: Store<QuestionableTagRenderingConfigJson[]> = value.map((x) => { | ||||
|     if(x === undefined){ | ||||
|       console.log("No config found for ",path) | ||||
|       return [] | ||||
|     } | ||||
|     if (typeof x === "string") { | ||||
|       return perId[x] | ||||
|     } else { | ||||
|  | @ -38,6 +42,7 @@ | |||
|     if (!configs) { | ||||
|       return [{ error: "No configuartions found" }] | ||||
|     } | ||||
|     console.log("Configs are", configs) | ||||
|     return configs.map((config) => { | ||||
|       if (config["builtin"]) { | ||||
|         let override = "" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue