add minute to notification scheduling & fix a bug, plus other tweaks

This commit is contained in:
2024-11-15 20:39:08 -07:00
parent bd622e19a8
commit f57d3b7707
6 changed files with 106 additions and 22 deletions

View File

@@ -595,6 +595,7 @@
<div id="sectionPartnerServerURL" class="mt-2">
<span class="text-slate-500 text-sm font-bold">Partner Server URL</span>
&nbsp;
<span class="text-sm">{{ DEFAULT_PARTNER_API_SERVER }}</span>
</div>
@@ -830,7 +831,7 @@ export default class AccountViewView extends Vue {
/**
* Beware! I've seen where this "ready" never resolves.
*/
const registration = await navigator.serviceWorker.ready;
const registration = await navigator.serviceWorker?.ready;
this.subscription = await registration.pushManager.getSubscription();
this.isSubscribed = !!this.subscription;
// console.log("Got to the end of 'mounted' call in AccountViewView.");