fix: edit task comment

Resolves #1055
This commit is contained in:
kolaente 2021-11-23 19:21:45 +01:00
parent d0d1086dac
commit dc347ed8ba
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -276,7 +276,7 @@ export default {
this.commentEdit.taskId = this.taskId
try {
const comment = this.taskCommentService.update(this.commentEdit)
const comment = await this.taskCommentService.update(this.commentEdit)
for (const c in this.comments) {
if (this.comments[c].id === this.commentEdit.id) {
this.comments[c] = comment