|
|
@ -224,8 +224,10 @@ const users = {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
fetchUserRelationship (store, id) {
|
|
|
|
fetchUserRelationship (store, id) {
|
|
|
|
return store.rootState.api.backendInteractor.fetchUserRelationship({ id })
|
|
|
|
if (store.state.currentUser) {
|
|
|
|
.then((relationships) => store.commit('updateUserRelationship', relationships))
|
|
|
|
store.rootState.api.backendInteractor.fetchUserRelationship({ id })
|
|
|
|
|
|
|
|
.then((relationships) => store.commit('updateUserRelationship', relationships))
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
fetchBlocks (store) {
|
|
|
|
fetchBlocks (store) {
|
|
|
|
return store.rootState.api.backendInteractor.fetchBlocks()
|
|
|
|
return store.rootState.api.backendInteractor.fetchBlocks()
|
|
|
|