Show error message when visit profile page of invalid user

This commit is contained in:
taehoon 2019-02-21 13:32:47 -05:00
parent d5348c13ff
commit e687b58091
5 changed files with 19 additions and 3 deletions

View file

@ -140,7 +140,7 @@ const users = {
getters,
actions: {
fetchUser (store, id) {
store.rootState.api.backendInteractor.fetchUser({ id })
return store.rootState.api.backendInteractor.fetchUser({ id })
.then((user) => store.commit('addNewUsers', [user]))
},
fetchBlocks (store) {