removes hacks from notifications storage, adds api call to let server update
is_seen attribute
This commit is contained in:
parent
e15b9bddbb
commit
b555d617e4
4 changed files with 26 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue