浏览代码

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];


正在加载...
取消
保存