forked from vikunja/vikunja
pass orderBy as parameter to taskCommentService in comments.vue
This commit is contained in:
parent
74f7b5bdba
commit
918c49648b
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user