Better success messages when marking a task as done

This commit is contained in:
kolaente 2018-09-10 19:44:14 +02:00
parent 92fa942b18
commit 28a5522434
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -110,7 +110,7 @@
break
}
}
this.handleSuccess({message: 'The task was successfully marked as done.'})
this.handleSuccess({message: 'The task was successfully ' + (e.target.checked ? 'un-' :'') + 'marked as done.'})
})
.catch(e => {
this.handleError(e)