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() {
|
||||
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