Skip to content

Commit 34b3bc7

Browse files
authored
Merge pull request #1154 from MenamAfzal/fix/search
Module search issue (Resolved #1123)
2 parents 9f99eae + db99fd1 commit 34b3bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/pages/editor/right/ModulePanel.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default function ModulePanel() {
124124
if (i.applicationId === applicationId || i.applicationType !== AppTypeEnum.Module) {
125125
return false;
126126
}
127-
return i.name.includes(searchValue.trim().toLowerCase()) || !searchValue.trim();
127+
return i.name?.toLowerCase()?.includes(searchValue.trim()?.toLowerCase()) || !searchValue?.trim();
128128
});
129129

130130
const items = filteredModules.map((i) => (

0 commit comments

Comments
 (0)