Error messages in boxes instead of console.log
This commit is contained in:
5 files changed
+6
-7
No files matched your search
@@ -34,9 +34,8 @@ export default {
|
||||
created () {
|
||||
api.getUsers().then(users => {
|
||||
this.users = users
|
||||
console.log(users)
|
||||
}).catch(error => {
|
||||
console.log(error)
|
||||
this.$store.commit('showError', error)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user