diff --git a/src/Vinlottis.vue b/src/Vinlottis.vue index cfb3bcb..f06c2e0 100644 --- a/src/Vinlottis.vue +++ b/src/Vinlottis.vue @@ -51,7 +51,10 @@ export default { } window.Notification.requestPermission().then(permission => { if (permission !== "granted") { - throw new Error("Permission not granted for Notification"); + console.log( + "Du valgte å ikke ha arbeids-arbeideren til å sende deg dytte-meldinger :'('" + ); + return; } if (localStorage.getItem("push") == null) { this.sendMessage("updatePush");