Fixes and updates
This commit is contained in:
@@ -278,7 +278,6 @@ export default class App extends Vue {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private askPermission(): Promise<NotificationPermission> {
|
||||
// Check if Notifications are supported
|
||||
if (!("Notification" in window)) {
|
||||
@@ -312,7 +311,6 @@ export default class App extends Vue {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
async turnOnNotifications() {
|
||||
return this.askPermission()
|
||||
.then((permission) => {
|
||||
|
||||
Reference in New Issue
Block a user