Matching titles to lowercase.

This commit is contained in:
Roland 2023-11-20 18:28:04 -07:00
parent fdfb8797fe
commit 2bd39fd0c7
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -28,7 +28,7 @@ export function useSearchSuggestions() {
if (searchStr && searchStr.length > 0) {
try {
const i = await searchSuggestions(searchStr);
const matchingApps = suggestedApps.filter(i => i.title.toLowerCase().includes(searchStr));
const matchingApps = suggestedApps.filter(i => i.title.toLowerCase().includes(searchStr.toLowerCase()));
const newSuggestions = {
channels: {
name: 'Channels', results: i['channels'].map(i => {