forked from trent_larson/crowd-funder-for-time-pwa
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) => {
|
||||
|
||||
@@ -19,9 +19,10 @@ export type Settings = {
|
||||
lastName?: string; // User's last name
|
||||
lastViewedClaimId?: string; // Last viewed claim ID
|
||||
lastNotifiedClaimId?: string; // Last notified claim ID
|
||||
isRegistered?: boolean;
|
||||
|
||||
// Array of named search boxes defined by bounding boxes
|
||||
|
||||
|
||||
searchBoxes?: Array<{
|
||||
name: string;
|
||||
bbox: BoundingBox;
|
||||
|
||||
Reference in New Issue
Block a user