refactor(task-list): update status handling and enhance styling in TaskListV2Table
- Modified status assignment in useTaskSocketHandlers to utilize actual status_id from the response for improved accuracy. - Simplified status logic by directly using data.status in task creation. - Enhanced styling in TaskListV2Table by adding border styles for better visual separation of elements.
This commit is contained in:
@@ -515,7 +515,7 @@ const TaskListV2Section: React.FC = () => {
|
||||
return (
|
||||
<div
|
||||
key={column.id}
|
||||
className={`text-sm font-semibold text-gray-600 dark:text-gray-300 ${
|
||||
className={`text-sm font-semibold text-gray-600 dark:text-gray-300 border-r border-gray-200 dark:border-gray-700 ${
|
||||
column.id === 'dragHandle'
|
||||
? 'flex items-center justify-center'
|
||||
: column.id === 'checkbox'
|
||||
@@ -549,7 +549,7 @@ const TaskListV2Section: React.FC = () => {
|
||||
})}
|
||||
{/* Add Custom Column Button - positioned at the end and scrolls with content */}
|
||||
<div
|
||||
className="flex items-center justify-center px-2"
|
||||
className="flex items-center justify-center px-2 border-r border-gray-200 dark:border-gray-700"
|
||||
style={{ width: '50px', flexShrink: 0 }}
|
||||
>
|
||||
<AddCustomColumnButton />
|
||||
|
||||
Reference in New Issue
Block a user