1. notification via SW 2.manifest json for home screen app 3. icons for mobile/desktop shortcut app
This commit is contained in:
parent
44dd4e9562
commit
2087c2897f
19 changed files with 217 additions and 51 deletions
|
|
@ -4,6 +4,7 @@
|
|||
no-gutters
|
||||
align-content="center"
|
||||
v-on="$listeners"
|
||||
v-show="icon === 'notifications_active' ? this.windowNotificationPermission() !== 'granted' : true"
|
||||
>
|
||||
<v-col cols="auto" class="me-2">
|
||||
<v-icon :size="iconSize">{{ icon }}</v-icon>
|
||||
|
|
@ -13,6 +14,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { windowNotificationPermission } from "../plugins/notificationAndServiceWorker.js"
|
||||
|
||||
export default {
|
||||
name: "ActionRow",
|
||||
props: {
|
||||
|
|
@ -35,6 +38,9 @@ export default {
|
|||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
windowNotificationPermission
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue