Removing notifications completely from safari
This commit is contained in:
@@ -73,6 +73,9 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
notificationAllowed: function() {
|
||||
if (!("PushManager" in window)) {
|
||||
return false;
|
||||
}
|
||||
return (
|
||||
Notification.permission !== "granted" ||
|
||||
!this.pushAllowed ||
|
||||
|
||||
Reference in New Issue
Block a user