improve error handling logic

This commit is contained in:
taehoon 2019-04-27 09:36:10 -04:00
parent 12f8269f01
commit 2af088969a
3 changed files with 11 additions and 5 deletions

View file

@ -302,9 +302,9 @@ const Status = {
},
showError (error) {
this.error = error
setTimeout(() => {
this.error = null
}, 5000)
},
clearError () {
this.error = undefined
},
linkClicked (event) {
let { target } = event