aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-02-28 14:03:44 -0500
committerdave <starpumadev@gmail.com>2019-02-28 14:03:44 -0500
commitba2e05bc63e0b36d5a126b422c9f87a7ace43305 (patch)
treebc174e765ac088f29b91e62e56d73f840dee4e54 /src/components/notifications/notifications.js
parent24f3770fb5ca47b41a9fbf8711dd614fb50537ca (diff)
#392: stale data served to new user account
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 5e95631a..9fc5e38a 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -11,7 +11,8 @@ const Notifications = {
const store = this.$store
const credentials = store.state.users.currentUser.credentials
- notificationsFetcher.startFetching({ store, credentials })
+ const fetcherId = notificationsFetcher.startFetching({ store, credentials })
+ this.$store.commit('setNotificationFetcher', { fetcherId })
},
data () {
return {