From d74b8b7fe8345fe7ce3d3935ed2bb7a682036081 Mon Sep 17 00:00:00 2001
From: Jeet Desai <52026385+jeet1desai@users.noreply.github.com>
Date: Mon, 5 Feb 2024 19:41:09 +0530
Subject: [PATCH] Added placeholder in task list (#3785)
#3769 added placeholder in task list
---
.../src/modules/activities/tasks/components/TaskRow.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx
index 35cc249bcd..2f6e51eac1 100644
--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx
+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx
@@ -67,6 +67,10 @@ const StyledFieldsContainer = styled.div`
display: flex;
`;
+const StyledPlaceholder = styled.div`
+ color: ${({ theme }) => theme.font.color.light};
+`;
+
export const TaskRow = ({
task,
}: {
@@ -100,7 +104,7 @@ export const TaskRow = ({
/>
- {task.title ?? 'Task Title'}
+ {task.title || Task title}