Fix caching API routes in PWA service worker

This commit is contained in:
Kasper Seweryn 2022-05-03 02:55:56 +02:00 committed by Georg Krause
commit a872f752c5
2 changed files with 1 additions and 1 deletions

View file

@ -13,7 +13,6 @@ export const install: InitModule = ({ store }) => {
})
watch(() => store.state.auth.authenticated, (authenticated) => {
console.log(Math.random())
if (authenticated) return open()
close()
}, { immediate: true })