doc: add more help for the notifications
This commit is contained in:
@@ -329,10 +329,7 @@ export default class App extends Vue {
|
||||
}
|
||||
} catch (error) {
|
||||
if (window.location.host.startsWith("localhost")) {
|
||||
console.log(
|
||||
"Ignoring this error getting VAPID for local development:",
|
||||
error,
|
||||
);
|
||||
console.log("Ignoring the error getting VAPID for local development.");
|
||||
} else {
|
||||
console.error("Got an error initializing notifications:", error);
|
||||
this.$notify(
|
||||
@@ -424,7 +421,7 @@ export default class App extends Vue {
|
||||
});
|
||||
}
|
||||
|
||||
async turnOnNotifications() {
|
||||
public async turnOnNotifications() {
|
||||
return this.askPermission()
|
||||
.then((permission) => {
|
||||
console.log("Permission granted:", permission);
|
||||
|
||||
Reference in New Issue
Block a user