diff --git a/client/components/calendar/TaskInfoCard.tsx b/client/components/calendar/TaskInfoCard.tsx index a912189..d912330 100644 --- a/client/components/calendar/TaskInfoCard.tsx +++ b/client/components/calendar/TaskInfoCard.tsx @@ -100,7 +100,10 @@ export function TaskInfoComponent({ {CategoryIconsMap[TypeToCategoryMap[task?.task_type ?? 'Other']]} diff --git a/client/screens/TaskList.tsx b/client/screens/TaskList.tsx index 6e3b5e9..be419e9 100644 --- a/client/screens/TaskList.tsx +++ b/client/screens/TaskList.tsx @@ -55,6 +55,8 @@ export default function TaskListScreen() { ); const { roles } = useGroup(userGroup.groupID); const { users } = useUsers(roles?.map((role) => role.user_id) || []); + const [sortBy, setSortBy] = useState('All Tasks'); + console.log(sortBy); // Filter tasks based on search query in multiple fields and labels const filteredTasks = tasks?.filter((task) => {