forked from MapComplete/MapComplete
		
	Fix loading of themes from external sources
This commit is contained in:
		
							parent
							
								
									d5f4572e9a
								
							
						
					
					
						commit
						bec7ed6da6
					
				
					 3 changed files with 8 additions and 13 deletions
				
			
		|  | @ -304,7 +304,6 @@ export default class LayoutConfig { | |||
|         } | ||||
|         rewriting.forEach((value, key) => { | ||||
|             console.log("Rewriting", key, "==>", value) | ||||
| 
 | ||||
|             originalJson = originalJson.replace(new RegExp(key, "g"), value) | ||||
|         }) | ||||
|         return new LayoutConfig(JSON.parse(originalJson), false, "Layout rewriting") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue