mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-19 18:28:42 +00:00
Add ignoreLocation option to fuseMultiTerm config (#28557)
This commit is contained in:
@@ -17,6 +17,7 @@ const DEFAULT_OPTIONS: IFuseOptions<any> = {
|
|||||||
isCaseSensitive: false,
|
isCaseSensitive: false,
|
||||||
threshold: 0.3,
|
threshold: 0.3,
|
||||||
minMatchCharLength: 2,
|
minMatchCharLength: 2,
|
||||||
|
ignoreLocation: true, // don't care where the pattern is
|
||||||
};
|
};
|
||||||
|
|
||||||
const DEFAULT_MIN_CHAR_LENGTH = 2;
|
const DEFAULT_MIN_CHAR_LENGTH = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user