fix(home-page): exclude archived projects from task queries and update project color display

- Added a condition to exclude archived projects from the task retrieval queries in the HomePageController.
- Updated the TasksList component to display the project color instead of the phase color for better visual representation.
This commit is contained in:
chamiakJ
2025-07-12 06:46:23 +05:30
parent 6d5aa0ccab
commit 20e7d3c51a
2 changed files with 10 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ const TasksList: React.FC = React.memo(() => {
style={{ margin: 0, paddingInlineEnd: 6, maxWidth: 120 }}
ellipsis={{ tooltip: true }}
>
<Badge color={record.phase_color || 'blue'} style={{ marginInlineEnd: 4 }} />
<Badge color={record.project_color || 'blue'} style={{ marginInlineEnd: 4 }} />
{record.project_name}
</Typography.Paragraph>
</Tooltip>