- {visibleColumns.includes("Task Name") && (
- {task.name} |
- )}
- {visibleColumns.includes("Task Type") && (
- {task.type} |
- )}
- {visibleColumns.includes("Start Date") && (
- {task.startDate} |
- )}
- {visibleColumns.includes("End Date") && (
- {task.endDate} |
- )}
+ {visibleColumns.includes("Task Name") && {task.task_name} | }
+ {visibleColumns.includes("Task Type") && {task.task_type} | }
+ {visibleColumns.includes("Start Date") && {new Date(task.start_date).toLocaleString()} | }
+ {visibleColumns.includes("End Date") && {new Date(task.end_date).toLocaleString()} | }
{visibleColumns.includes("Status") && (
|
)}
+ {visibleColumns.includes("Assigned To") && {task.assigned_to} | }
... |
))}
@@ -435,4 +399,4 @@ function Tasks() {
);
}
-export default Tasks;
+export default Tasks;
\ No newline at end of file