aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2018-12-03 14:47:27 +0000
committerlambda <pleromagit@rogerbraun.net>2018-12-03 14:47:27 +0000
commitea28aa62f00663ab8a0e0bf64551ac15256a3242 (patch)
tree4460df5dbf2939cbb9990c6b52868b2226700be3 /src/components/notifications/notifications.js
parentb33aa46d6eeca055d961e56e5adef5cfd1b92dfa (diff)
parentb555d617e4fc1b2ea3fef7e56ffcfde983583418 (diff)
Merge branch 'ss-read' into 'develop'
Server-side read marking See merge request pleroma/pleroma-fe!386
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 58956f98..945ffd1f 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -52,7 +52,7 @@ const Notifications = {
},
methods: {
markAsSeen () {
- this.$store.commit('markNotificationsAsSeen', this.visibleNotifications)
+ this.$store.dispatch('markNotificationsAsSeen', this.visibleNotifications)
},
fetchOlderNotifications () {
const store = this.$store