ublo-lib 1.47.20 → 1.47.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -119,8 +119,8 @@ const SearchBar = ({ lang, resultFormatter, backdrop, OverrideIcons = {}, messag
|
|
|
119
119
|
}, [autofocus, handleKeyPresses]);
|
|
120
120
|
const Icon = search?.loading ? Icons.LoadIcon : Icons.SearchIcon;
|
|
121
121
|
const matchingAdditionalResults = additionalResults.filter((result) => {
|
|
122
|
-
const normalizedResult = result.
|
|
123
|
-
const normalizedText = text.toLowerCase();
|
|
122
|
+
const normalizedResult = normalize(result.title.toLowerCase());
|
|
123
|
+
const normalizedText = normalize(text.toLowerCase());
|
|
124
124
|
return normalizedResult.includes(normalizedText);
|
|
125
125
|
});
|
|
126
126
|
const results = [...(search?.result || []), ...matchingAdditionalResults];
|