소스 검색

update

tags/Baseline_30082024_FRONTEND_UAT
cyril.tsui 1 년 전
부모
커밋
0bd84b035d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/components/CreateProject/StaffAllocation.tsx

+ 2
- 2
src/components/CreateProject/StaffAllocation.tsx 파일 보기

@@ -171,8 +171,8 @@ const StaffAllocation: React.FC<Props> = ({
allStaffs.filter((staff) => {
const q = query.toLowerCase();
return (
(staff.name.toLowerCase().includes(q) ||
staff.staffId.toString().includes(q) ||
(staff.name?.toLowerCase().includes(q) ||
staff.staffId?.toLowerCase().includes(q) ||
staff.currentPosition?.toLowerCase().includes(q)) &&
Object.entries(filters).every(([filterKey, filterValue]) => {
const staffColumnValue = staff[filterKey as keyof StaffResult];


불러오는 중...
취소
저장