diff --git a/src/components/CreateProject/StaffAllocation.tsx b/src/components/CreateProject/StaffAllocation.tsx index d57d2fd..76130e7 100644 --- a/src/components/CreateProject/StaffAllocation.tsx +++ b/src/components/CreateProject/StaffAllocation.tsx @@ -172,7 +172,7 @@ const StaffAllocation: React.FC = ({ const q = query.toLowerCase(); return ( (staff.name.toLowerCase().includes(q) || - staff.id.toString().includes(q) || + staff.staffId.toString().includes(q) || staff.currentPosition?.toLowerCase().includes(q)) && Object.entries(filters).every(([filterKey, filterValue]) => { const staffColumnValue = staff[filterKey as keyof StaffResult];