Fixes and updates

This commit is contained in:
Matthew Raymer
2023-11-08 05:52:29 -05:00
parent aea9626c06
commit e813315dad
5 changed files with 61 additions and 34 deletions

View File

@@ -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) => {

View File

@@ -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;