Skip to content

Commit

Permalink
Add ignoreLocation option for substring matching
Browse files Browse the repository at this point in the history
  • Loading branch information
georgezzeng committed Nov 12, 2024
1 parent 48e8576 commit 582a397
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 582a397

Please sign in to comment.