From 4bef879f1d0d2172e22e883b3a6e77372ce2e621 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:07:33 +0000 Subject: [PATCH] fix: Apply subtask filtering to saved filters to prevent duplication The bug was in ProjectList.vue where subtask filtering was skipped for saved filters (projectId < 0). This caused subtasks to appear twice: 1. As standalone tasks in the main list 2. Nested under their parent tasks The fix removes the early return for saved filters, ensuring the shouldShowTaskInListView filter is always applied. Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com> --- frontend/src/components/project/views/ProjectList.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/project/views/ProjectList.vue b/frontend/src/components/project/views/ProjectList.vue index 62a4f3b64..60c07869b 100644 --- a/frontend/src/components/project/views/ProjectList.vue +++ b/frontend/src/components/project/views/ProjectList.vue @@ -163,9 +163,8 @@ watch( allTasks, () => { tasks.value = [...allTasks.value] - if (projectId.value < 0) { - return - } + // Filter out subtasks that have parents in the current view to avoid duplication + // This applies to all views including saved filters tasks.value = tasks.value.filter(t => shouldShowTaskInListView(t, allTasks.value)) }, )