Show error message when visit profile page of invalid user
This commit is contained in:
parent
d5348c13ff
commit
e687b58091
5 changed files with 19 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue