diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-12-26 16:49:42 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-12-26 16:49:42 +0000 |
| commit | b8f4b18ae5e362bce97553cf4bcde1749b6fea32 (patch) | |
| tree | b9e370f0af483e569c4bdd374d91cd140022174c /src/components/notifications/notifications.js | |
| parent | f7029a27eb9def00c80929b2c2cfb1d22d29bbfe (diff) | |
| parent | bd07e5de1c03a5619db5af49f14dc20602134881 (diff) | |
Merge branch 'streaming' into 'develop'
Streaming and Backend Interactor service overhaul, removed the need for copypasting
See merge request pleroma/pleroma-fe!1012
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 6c4054fd..a89c0cdc 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -47,6 +47,11 @@ const Notifications = { components: { Notification }, + created () { + const { dispatch } = this.$store + + dispatch('fetchAndUpdateNotifications') + }, watch: { unseenCount (count) { if (count > 0) { |
