Skip to content

Commit 6cb363d

Browse files
committed
fix: add comma to join to stop search working on mixed tags
1 parent e59b38a commit 6cb363d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/features/instruments/components/InstrumentShowcase/InstrumentShowcase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const InstrumentShowcase: React.FC<{
3838
}
3939
return (
4040
details.title.toUpperCase().includes(searchTerm.toUpperCase()) ||
41-
tags.join().toUpperCase().includes(searchTerm.toUpperCase())
41+
tags.join(', ').toUpperCase().includes(searchTerm.toUpperCase())
4242
);
4343
});
4444
updatedFilteredInstruments.sort((a, b) => {

0 commit comments

Comments
 (0)