From 4b6d4e7c956c69f87ce6130179095ca2f52bdb50 Mon Sep 17 00:00:00 2001 From: Carsten Koch Date: Wed, 20 Nov 2024 20:02:29 +0100 Subject: [PATCH] fix: showing zero when no todos on project in day planning --- components/planning/day/ShowProjectTodos.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/planning/day/ShowProjectTodos.tsx b/components/planning/day/ShowProjectTodos.tsx index 1856305d0..7587b68e0 100644 --- a/components/planning/day/ShowProjectTodos.tsx +++ b/components/planning/day/ShowProjectTodos.tsx @@ -29,7 +29,7 @@ const ShowProjectTodos: FC = ({ projectId }) => { return (
- {openTodos?.length && } + {!!openTodos?.length && }