Error box, download button, editor save and more.

This commit is contained in:
Henrique Dias committed 2017-07-06 14:40:06 +01:00
1 parent a70d1c090c
commit efaa8439a9
14 files changed
+180 -102

No files matched your search

+2 -3
View File
@@ -172,10 +172,9 @@ export default {
buttons.done('upload')
this.$store.commit('setReload', true)
})
.catch(e => {
.catch(error => {
buttons.done('upload')
// TODO: show error in box
console.log(e)
this.$store.commit('showError', error)
})
return false