fix: not able to filter by nullable values (#2580)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Jérémy M
2023-11-20 15:46:20 +01:00
committed by GitHub
parent 9516e69522
commit 3ad30a0498
14 changed files with 46 additions and 5 deletions

View File

@ -12,7 +12,7 @@ export const useCurrentUserTaskCount = () => {
objectNamePlural: 'activities',
filter: {
type: { eq: 'Task' },
completedAt: { eq: null },
completedAt: { is: 'NULL' },
assigneeId: { eq: currentWorkspaceMember?.id },
},
});