Procházet zdrojové kódy

update

tags/Baseline_30082024_FRONTEND_UAT
cyril.tsui před 1 rokem
rodič
revize
0bd84b035d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/components/CreateProject/StaffAllocation.tsx

+ 2
- 2
src/components/CreateProject/StaffAllocation.tsx Zobrazit soubor

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


Načítá se…
Zrušit
Uložit