Report now works

This commit is contained in:
Grzegorz Leoniec 2019-01-11 16:34:16 +01:00
parent 487fe2aabe
commit c1fb68eb36
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -89,9 +89,9 @@ export default {
} }
}) })
.then(() => { .then(() => {
this.isOpen = false this.$toast.success('Thanks for reporting!')
this.$toast.success(err.message)
this.disabled = true this.disabled = true
this.close()
}) })
.catch(err => { .catch(err => {
this.$toast.error(err.message) this.$toast.error(err.message)