diff --git a/front/src/modules/activities/tasks/hooks/useTasks.ts b/front/src/modules/activities/tasks/hooks/useTasks.ts index f070a76a4b..89363999f5 100644 --- a/front/src/modules/activities/tasks/hooks/useTasks.ts +++ b/front/src/modules/activities/tasks/hooks/useTasks.ts @@ -87,7 +87,7 @@ export function useTasks(entity?: ActivityTargetableEntity) { }); const tasksData = - activeTabId === 'done' || !entity ? completeTasksData : incompleteTaskData; + activeTabId === 'to-do' || entity ? incompleteTaskData : completeTasksData; const todayOrPreviousTasks = tasksData?.findManyActivities.filter((task) => { if (!task.dueAt) {