mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
Fix tasks page (#1325)
* Fix tasks page * remove console log * use to-do instead
This commit is contained in:
parent
1b187350c0
commit
ab9d7ddf7e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user