Added missing web build files

This commit is contained in:
Fabio Manganiello 2022-06-02 23:41:50 +02:00
parent c9f435a6cb
commit 7e31ac6ed8
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
12 changed files with 51 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,28 @@
<template>
<div />
</template>
<script>
import Utils from "@/Utils";
export default {
name: "Ntfy",
mixins: [Utils],
methods: {
onMessage(event) {
this.notify({
title: event.title,
text: event.message,
image: {
icon: 'bell',
},
})
},
},
mounted() {
this.subscribe(this.onMessage, null, 'platypush.message.event.ntfy.NotificationEvent')
},
}
</script>