forked from jsnbuchanan/crowd-funder-for-time-pwa
move wait for service-worker initialization into the notification modal
This commit is contained in:
@@ -38,7 +38,10 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<h2 class="text-xl font-semibold">If this app is not installed...</h2>
|
||||
<h2 class="text-xl font-semibold">
|
||||
If this is not installed as an app...
|
||||
<!-- Note that that exact verbiage shows in a message elsewhere. -->
|
||||
</h2>
|
||||
<div>
|
||||
<p>
|
||||
For best results on mobile, install this app on your device (as
|
||||
@@ -54,13 +57,13 @@
|
||||
</div>
|
||||
|
||||
<h2 class="text-xl font-semibold">
|
||||
If "you must enable notifications"...
|
||||
If you must enable notifications...
|
||||
<!-- Note that that exact verbiage shows in a message elsewhere. -->
|
||||
</h2>
|
||||
<div>
|
||||
<p>
|
||||
Wait for about 10 seconds (for the service worker to activate), then
|
||||
<button class="text-blue-500" @click="showNotificationChoice()">
|
||||
click here.
|
||||
Click here.
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
@@ -273,6 +276,7 @@ export default class HelpNotificationsView extends Vue {
|
||||
group: "alert",
|
||||
type: "danger",
|
||||
title: "Not Subscribed",
|
||||
// Note that this exact verbiage shows in help text.
|
||||
text: "You must enable notifications before testing the web push.",
|
||||
},
|
||||
-1,
|
||||
|
||||
Reference in New Issue
Block a user