#436: integrate mastoAPI notifications

This commit is contained in:
dave 2019-03-12 17:16:57 -04:00
parent f397537642
commit cd9a7dd488
8 changed files with 135 additions and 42 deletions

View file

@ -21,6 +21,9 @@ const Notification = {
},
userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
},
dismiss () {
this.$store.dispatch('dismissNotifications', { id: this.notification.id })
}
},
computed: {