aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-01-03 09:05:48 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-01-03 09:05:48 +0000
commit215662afdee3935f66e5fbd73260e2039f5216de (patch)
tree817b578e53b884c4b5facd63c166b522f59a8978 /src/components/notifications/notifications.js
parentc3e7806acbd32483eab497a347f947158ab8febf (diff)
parent1a82a00a2b45041c35b72ab16ee34c120341b652 (diff)
Merge branch 'develop' into 'fix-move-type-notification'
# Conflicts: # static/fontello.json
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js5
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) {