Verified Commit 7e31ac6e authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

Added missing web build files

parent c9f435a6
Pipeline #250 passed with stages
in 5 minutes and 14 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
<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>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment