Added clearing cache
This commit is contained in:
parent
49080523b7
commit
015984c4cf
1 changed files with 5 additions and 0 deletions
|
|
@ -42,7 +42,12 @@ export default () => {
|
|||
sessionStorage.setItem('registered', JSON.stringify([...registeredNameList]))
|
||||
}
|
||||
|
||||
const clearCache = async () => {
|
||||
caches.keys()
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
await clearCache()
|
||||
await getAssessors()
|
||||
await getRegistered()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue