Skip to content

Commit

Permalink
fix: showing zero when no todos on project in day planning
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Koch committed Nov 20, 2024
1 parent 9856bb0 commit 4b6d4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/planning/day/ShowProjectTodos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ShowProjectTodos: FC<ShowProjectTodosProps> = ({ projectId }) => {

return (
<div>
{openTodos?.length && <TodoEditor todos={openTodos} />}
{!!openTodos?.length && <TodoEditor todos={openTodos} />}

<ShowHideSwitch
value={showClosed}
Expand Down

0 comments on commit 4b6d4e7

Please sign in to comment.