forked from MapComplete/MapComplete
		
	Fix build
This commit is contained in:
		
							parent
							
								
									e5a24ff499
								
							
						
					
					
						commit
						2bcc573f2a
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		
							
								
								
									
										4
									
								
								index.ts
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								index.ts
									
										
									
									
									
								
							|  | @ -63,10 +63,6 @@ if (path !== "index.html" && path !== "") { | |||
| defaultLayout = QueryParameters.GetQueryParameter("layout", defaultLayout, "The layout to load into MapComplete").data; | ||||
| let layoutToUse: LayoutConfig = AllKnownLayouts.allKnownLayouts.get(defaultLayout.toLowerCase()); | ||||
| 
 | ||||
| if(layoutToUse?.id === "natuurpunt"){ | ||||
|     localStorage.clear() | ||||
| } | ||||
| 
 | ||||
| const userLayoutParam = QueryParameters.GetQueryParameter("userlayout", "false", "If not 'false', a custom (non-official) theme is loaded. This custom layout can be done in multiple ways: \n\n- The hash of the URL contains a base64-encoded .json-file containing the theme definition\n- The hash of the URL contains a lz-compressed .json-file, as generated by the custom theme generator\n- The parameter itself is an URL, in which case that URL will be downloaded. It should point to a .json of a theme"); | ||||
| 
 | ||||
| // Workaround/legacy to keep the old paramters working as I renamed some of them
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue