diff --git a/src/components/library/FolderList.tsx b/src/components/library/FolderList.tsx index afc3b47..db08fe7 100644 --- a/src/components/library/FolderList.tsx +++ b/src/components/library/FolderList.tsx @@ -56,11 +56,15 @@ const FolderList = () => { ); const [searchQuery, setSearchQuery] = useState(''); - const filteredData = useSearchQuery( - searchQuery, - folderData?.id ? folderData?.child : indexData?.child, - ['title', 'artist', 'album', 'year', 'genre', 'path'] - ); + const filteredData = useSearchQuery(searchQuery, folderData?.id ? folderData?.child : indexData, [ + 'name', + 'title', + 'artist', + 'album', + 'year', + 'genre', + 'path', + ]); useEffect(() => { if (query.get('folderId') !== 'null') {