Skip to content

Commit

Permalink
fix: search case sensitive in adv menu
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 11, 2024
1 parent 04a0e60 commit be5846d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hooks/useFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export default function useFilter(
reqCategories,
) {
const { t } = useTranslation()
const search = useGetDeepStore(`searches.${category}Advanced`)
const search = useGetDeepStore(`searches.${category}Advanced`, '')
.toLowerCase()
.trim()
const {
available,
auth: { perms },
Expand Down

0 comments on commit be5846d

Please sign in to comment.