From 36a0d3ca19ef8d5804122d1f883f3e090eba1ab2 Mon Sep 17 00:00:00 2001 From: Alma Date: Sat, 12 Apr 2025 20:45:07 +0200 Subject: [PATCH] working leantime widget 90 --- components/flow.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/flow.tsx b/components/flow.tsx index f1bddb7b..a4b2c3f6 100644 --- a/components/flow.tsx +++ b/components/flow.tsx @@ -135,26 +135,26 @@ export function Flow() { ) : tasks.length === 0 ? (
No tasks found
) : ( -
+
{tasks.map((task) => (
-
+
{task.headline} -
- - {task.projectName} +
+ + {task.projectName} {task.dateToFinish && task.dateToFinish !== '0000-00-00 00:00:00' && ( - + Due: {new Date(task.dateToFinish).toLocaleDateString()} )}