Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: tasks index (#16049)

boojackcd179628fbad
diff --git a/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue b/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
index c6c5a80cda..f6ed71217a 100644
--- a/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
+++ b/frontend/src/components/IssueV1/components/TaskListSection/TaskListSection.vue
@@ -135,8 +135,14 @@ const loadMore = useDebounceFn(async () => {
}, 500);
watch(
- () => filteredTaskList.value,
- () => (state.index = TASK_PER_PAGE)
+ [() => state.taskStatusFilters, () => state.adviceStatusFilters],
+ () => {
+ // Reset the index when the filters change.
+ state.index = TASK_PER_PAGE;
+ },
+ {
+ deep: true,
+ }
);
watch(