(notification) remove all notif on reload

This commit is contained in:
2020-07-15 01:35:38 +02:00
parent 5a044cf07a
commit 9c81038bed

View File

@@ -8,7 +8,7 @@ if (process.env.NODE_ENV === 'production') {
ready(sw) {
sw.getNotifications().then((notifs) => {
notifs
.filter((notif) => notif.tag === 'new-version')
// .filter((notif) => notif.tag === 'new-version')
.forEach((notif) => notif.close())
})
console.log('App is being served from cache by a service worker')