mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-22 07:56:18 -05:00
Matching titles to lowercase.
This commit is contained in:
parent
fdfb8797fe
commit
2bd39fd0c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue