forked from MapComplete/MapComplete
		
	Reload page on 'clear caches'
This commit is contained in:
		
							parent
							
								
									f3c40ea008
								
							
						
					
					
						commit
						347d16154c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -5,6 +5,7 @@ | ||||||
|   function clearCaches() { |   function clearCaches() { | ||||||
|     IdbLocalStorage.clearAll() |     IdbLocalStorage.clearAll() | ||||||
|     Utils.download("./service-worker-clear") |     Utils.download("./service-worker-clear") | ||||||
|  |     window.location.reload() | ||||||
|   } |   } | ||||||
|   export let msg: string |   export let msg: string | ||||||
| </script> | </script> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue