Increased fuse search distance from 100 (default) to 150
This commit is contained in:
parent
46428b5af6
commit
aa2bb68d4a
2 changed files with 16 additions and 0 deletions
|
@ -19,6 +19,9 @@ const FUSE_OPTIONS: Fuse.IFuseOptions<ConversationType> = {
|
|||
useExtendedSearch: true,
|
||||
// We sort manually anyway
|
||||
shouldSort: true,
|
||||
// the default of 100 is not enough to catch a word at the end of a convo/group title
|
||||
// 150 is about right
|
||||
distance: 150,
|
||||
keys: [
|
||||
{
|
||||
name: 'searchableTitle',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue