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 d3324b5 commit 4f8e2ebCopy full SHA for 4f8e2eb
apps/web/src/features/instruments/components/InstrumentShowcase/InstrumentShowcase.tsx
@@ -36,7 +36,12 @@ export const InstrumentShowcase: React.FC<{
36
} else if (selectedTags.length && !selectedTags.some(({ key }) => tags.includes(key))) {
37
return false;
38
}
39
- return details.title.toUpperCase().includes(searchTerm.toUpperCase());
+ console.log(searchTerm);
40
+ console.log(tags);
41
+ return (
42
+ details.title.toUpperCase().includes(searchTerm.toUpperCase()) ||
43
+ tags.join().toUpperCase().includes(searchTerm.toUpperCase())
44
+ );
45
});
46
updatedFilteredInstruments.sort((a, b) => {
47
return a.details.title.localeCompare(b.details.title);
0 commit comments