Skip to content

Commit

Permalink
remove toLowerCase
Browse files Browse the repository at this point in the history
  • Loading branch information
sigridge committed Aug 20, 2024
1 parent a5ea250 commit 93a2719
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/hooks/staffing/useConsultantsFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ export function filterConsultants({
}
if (departmentFilter && departmentFilter.length > 0) {
newFilteredConsultants = newFilteredConsultants?.filter((consultant) =>
departmentFilter
.toLowerCase()
.includes(consultant.department.id.toLowerCase()),
departmentFilter.includes(consultant.department.id),
);
}
if (competenceFilter && competenceFilter.length > 0) {
Expand Down

0 comments on commit 93a2719

Please sign in to comment.