diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-01 14:15:04 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-01 14:15:04 +0300 |
| commit | 62d0bc47b333135f31abea90b4f5a3c28e608733 (patch) | |
| tree | ea042aa5177e4b7c6df3a20bfcb0922c3948cfb0 /src/components/notifications | |
| parent | 82944f862d07db46cf342f2ee75b2ab6ddccc4fc (diff) | |
remove unnecessary fetchAndUpdate, change notifications fetcher to not double fetch
Diffstat (limited to 'src/components/notifications')
| -rw-r--r-- | src/components/notifications/notifications.js | 5 |
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) { |
