aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-07-01 14:15:04 +0300
committerShpuld Shpuldson <shp@cock.li>2020-07-01 14:15:04 +0300
commit62d0bc47b333135f31abea90b4f5a3c28e608733 (patch)
treeea042aa5177e4b7c6df3a20bfcb0922c3948cfb0 /src/components/notifications/notifications.js
parent82944f862d07db46cf342f2ee75b2ab6ddccc4fc (diff)
remove unnecessary fetchAndUpdate, change notifications fetcher to not double fetch
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 26ffbab6..e999a18e 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -56,11 +56,6 @@ const Notifications = {
components: {
Notification
},
- created () {
- const { dispatch } = this.$store
-
- dispatch('fetchAndUpdateNotifications')
- },
watch: {
unseenCount (count) {
if (count > 0) {