Skip to content

Commit

Permalink
Merge pull request #1727 from georgezzeng/add-usefuse-option
Browse files Browse the repository at this point in the history
Add ignoreLocation option for substring matching
  • Loading branch information
CannonLock authored Dec 17, 2024
2 parents 11232c8 + 582a397 commit 168e635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_ui/frontend/helpers/useFuse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function useFuse<T>(
...fuseOptions,
threshold: 0.2,
keys: keys,
ignoreLocation: true,
};
}, [fuseOptions, keys]);

Expand Down

0 comments on commit 168e635

Please sign in to comment.