Skip to content

Commit

Permalink
Merge pull request #1154 from MenamAfzal/fix/search
Browse files Browse the repository at this point in the history
Module search issue (Resolved #1123)
  • Loading branch information
FalkWolsky authored Sep 12, 2024
2 parents 9f99eae + db99fd1 commit 34b3bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function ModulePanel() {
if (i.applicationId === applicationId || i.applicationType !== AppTypeEnum.Module) {
return false;
}
return i.name.includes(searchValue.trim().toLowerCase()) || !searchValue.trim();
return i.name?.toLowerCase()?.includes(searchValue.trim()?.toLowerCase()) || !searchValue?.trim();
});

const items = filteredModules.map((i) => (
Expand Down

0 comments on commit 34b3bc7

Please sign in to comment.