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