Error messages in boxes instead of console.log

This commit is contained in:
Henrique Dias committed 2017-07-08 14:45:56 +01:00
1 parent bb116fe5b0
commit 66093fe117
5 files changed
+6 -7

No files matched your search

+3 -1
View File
@@ -99,7 +99,9 @@ export default {
.then(() => {
this.$store.commit('setReload', true)
})
.catch(error => console.log(error))
.catch(error => {
this.$store.commit('showError', error)
})
},
click: function (event) {
if (this.selectedCount !== 0) event.preventDefault()