improved initial notifications fetching
This commit is contained in:
parent
319bb4ac28
commit
172ebaf4e6
4 changed files with 33 additions and 6 deletions
|
@ -47,6 +47,11 @@ const Notifications = {
|
|||
components: {
|
||||
Notification
|
||||
},
|
||||
created () {
|
||||
const { dispatch } = this.$store
|
||||
|
||||
dispatch('fetchAndUpdateNotifications')
|
||||
},
|
||||
watch: {
|
||||
unseenCount (count) {
|
||||
if (count > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue