1
0
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:
Clément Notin
2025-12-16 09:44:33 +01:00
committed by GitHub
parent c93942919b
commit 6be390a07e

View File

@@ -17,6 +17,7 @@ const DEFAULT_OPTIONS: IFuseOptions<any> = {
isCaseSensitive: false,
threshold: 0.3,
minMatchCharLength: 2,
ignoreLocation: true, // don't care where the pattern is
};
const DEFAULT_MIN_CHAR_LENGTH = 2;