#392: stale data served to new user account
This commit is contained in:
parent
24f3770fb5
commit
ba2e05bc63
3 changed files with 18 additions and 4 deletions
|
@ -290,6 +290,10 @@ const users = {
|
|||
store.commit('setToken', false)
|
||||
store.dispatch('stopFetching', 'friends')
|
||||
store.commit('setBackendInteractor', backendInteractorService())
|
||||
if (store.rootState.statuses.notifications.fetcherId) {
|
||||
window.clearInterval(store.rootState.statuses.notifications.fetcherId)
|
||||
}
|
||||
store.commit('resetStatuses')
|
||||
},
|
||||
loginUser (store, accessToken) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue