Fix: Todo Multi refresh ...
fix some promises problem
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
<q-btn v-if="getPermission() !== 'granted'" class="enable-notifications" color="primary" rounded size="lg" icon="notifications" @click="askfornotification" :label="$t('notification.ask')"/>
|
||||
<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="primary" rounded size="lg" icon="notifications" @click="showNotificationExample" label="Send Notification"/>
|
||||
<!--<q-btn v-if="getPermission() === 'granted'" class="enable-notifications" color="secondary" rounded size="lg" icon="notifications" @click="createPushSubscription" label="Create Push Subscription !"/>-->
|
||||
|
||||
|
||||
<br>
|
||||
<div>
|
||||
<q-chip square color="secondary">
|
||||
@@ -16,6 +18,12 @@
|
||||
:label="$t('notification.titlegranted')"
|
||||
helper="Stato Notifiche">
|
||||
</q-field>
|
||||
<q-field
|
||||
v-if="NotServiceWorker()"
|
||||
icon="notifications"
|
||||
label="Service Worker not present"
|
||||
>
|
||||
</q-field>
|
||||
</div>
|
||||
|
||||
</q-page>
|
||||
|
||||
Reference in New Issue
Block a user