forked from platypush/platypush
Use the new bus notification helpers
This commit is contained in:
parent
241670c9d0
commit
3940288396
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ export default {
|
|||
},
|
||||
|
||||
mounted() {
|
||||
bus.on('notification-create', this.onNotification)
|
||||
bus.onNotification(this.onNotification)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -5,7 +5,7 @@ export default {
|
|||
name: "Notification",
|
||||
methods: {
|
||||
notify(notification) {
|
||||
bus.emit('notification-create', notification)
|
||||
bus.publishNotification(notification)
|
||||
},
|
||||
|
||||
notifyWarning(msg) {
|
||||
|
|
Loading…
Reference in a new issue