aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-03-07 16:33:22 +0000
committerShpuld Shpludson <shp@cock.li>2019-03-07 16:33:22 +0000
commit09b0f6dd87dcc8e0a03170bb84a9064009772824 (patch)
treef17a3e91ac1242a606e331a5c806c0b6bf084899 /src/components/notifications/notifications.js
parente3b3ef156b9cfd5d60827964068b790bf6aae1b2 (diff)
parentf3f9fbe3027bf5284adc05387e89d904884490b2 (diff)
Merge branch 'issue-392-other-user-stale-data' into 'develop'
#392: stale data served to new user account Closes #392 See merge request pleroma/pleroma-fe!625
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 {