diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-02 13:36:11 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-02 13:36:11 +0300 |
| commit | b555d617e4fc1b2ea3fef7e56ffcfde983583418 (patch) | |
| tree | 797fa0d858211da47bd8dde76944954c602d29e0 /src/components/notifications/notifications.js | |
| parent | e15b9bddbb23e36632982296a7c9ec01fd2bb7c7 (diff) | |
removes hacks from notifications storage, adds api call to let server update
is_seen attribute
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 2 |
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 |
