|
|
@@ -20,7 +20,7 @@ export const CategoryDetails: React.FC = () => { |
|
|
|
|
|
|
|
const searchShelf = (text: string) => { |
|
|
|
if (text.length > 0) { |
|
|
|
let result = shelfResult.filter(shelf => { |
|
|
|
let result = userProfileData.categories[category_id].shelves.filter(shelf => { |
|
|
|
return shelf.name.toLowerCase().includes(text.toLowerCase()); |
|
|
|
}); |
|
|
|
|
|
|
|