aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-12 17:16:57 -0400
committerdave <starpumadev@gmail.com>2019-03-12 17:16:57 -0400
commitcd9a7dd48802fff8942ae607a23677cfb43a7b14 (patch)
tree2b29ea2bf40515e08626251ac83c6df4ea9326cb /src/components/notifications/notifications.js
parentf397537642a6b8a4079d8d45d835ddd50f2d2b4a (diff)
#436: integrate mastoAPI notifications
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 9fc5e38a..68004d54 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -53,7 +53,10 @@ const Notifications = {
},
methods: {
markAsSeen () {
- this.$store.dispatch('markNotificationsAsSeen', this.visibleNotifications)
+ this.$store.dispatch('markNotificationsAsSeen')
+ },
+ clear () {
+ this.$store.dispatch('clearNotifications')
},
fetchOlderNotifications () {
const store = this.$store