pass orderBy as parameter to taskCommentService in comments.vue

This commit is contained in:
Andreas Lenhardt 2024-04-26 14:19:22 +02:00
parent 74f7b5bdba
commit 918c49648b
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ async function loadComments(taskId: ITask['id']) {
commentEdit.taskId = taskId
commentToDelete.taskId = taskId
let order = authStore.settings.frontendSettings.commentOrder;
comments.value = await taskCommentService.getAll({taskId}, {order: order})
comments.value = await taskCommentService.getAll({taskId}, {orderBy: order})
}
watch(