diff --git a/src/admin/communication/comments.vue b/src/admin/communication/comments.vue index 26558ee..ead2230 100644 --- a/src/admin/communication/comments.vue +++ b/src/admin/communication/comments.vue @@ -98,7 +98,7 @@ async function listComments() { onMounted(listComments) watch(() => [query.page, query.limit], listComments) -watchDebounced(() => [query.problem], listComments, { +watchDebounced(() => query.problem, listComments, { debounce: 500, maxWait: 1000, }) diff --git a/src/admin/problem/components/AddButton.vue b/src/admin/problem/components/AddButton.vue index 3b2f41f..7f3ca5f 100644 --- a/src/admin/problem/components/AddButton.vue +++ b/src/admin/problem/components/AddButton.vue @@ -35,7 +35,7 @@ async function addProblem() {