Skip to content

Commit

Permalink
Fix search in projects (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 authored Jun 6, 2024
1 parent ff85ea5 commit b11bf24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/new/widget/page/projects/MainViewContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ const filteredProjects = useMemo(() => {
let filtered = projects;
if (filters.title !== "") {
filtered = filtered.filter((project) =>
project.title.toLowerCase().includes(filters.title ?? "".toLowerCase()),
project.title
.toLowerCase()
.includes(filters.title.toLowerCase() ?? "".toLowerCase()),
);
}

Expand Down

0 comments on commit b11bf24

Please sign in to comment.