From dc347ed8ba4fa0a0299981f46820662c0be2b976 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 23 Nov 2021 19:21:45 +0100 Subject: [PATCH] fix: edit task comment Resolves #1055 --- src/components/tasks/partials/comments.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tasks/partials/comments.vue b/src/components/tasks/partials/comments.vue index 22c47cac..d5db45c3 100644 --- a/src/components/tasks/partials/comments.vue +++ b/src/components/tasks/partials/comments.vue @@ -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