We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bac9d4 commit 9381d66Copy full SHA for 9381d66
src/components/ReferenceDirectoryWithFilter/index.tsx
@@ -78,12 +78,11 @@ export const ReferenceDirectoryWithFilter = ({
78
.toLowerCase()
79
.includes(searchKeyword.toLowerCase()),
80
);
81
- if (subcat.entry &&
82
- subcat.entry.data.title
83
- .toLowerCase()
84
- .includes(searchKeyword.toLowerCase())
85
- ) {
86
- filteredEntries.push(subcat.entry);
+ if (
+ subcat.entry &&
+ subcat.entry.data.title.toLowerCase().includes(searchKeyword.toLowerCase())
+ ) {
+ filteredEntries.push(subcat.entry);
87
}
88
89
if (filteredEntries.length > 0) {
0 commit comments