@lvce-editor/output-view 2.9.0 → 2.10.1
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.
- package/README.md +0 -4
- package/dist/outputViewWorkerMain.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1252,7 +1252,8 @@ const filterItems = (items, filterValue) => {
|
|
|
1252
1252
|
if (!filterValue) {
|
|
1253
1253
|
return items;
|
|
1254
1254
|
}
|
|
1255
|
-
|
|
1255
|
+
const normalizedFilterValue = filterValue.toLowerCase();
|
|
1256
|
+
return items.filter(parts => getTextFromParts(parts).toLowerCase().includes(normalizedFilterValue));
|
|
1256
1257
|
};
|
|
1257
1258
|
|
|
1258
1259
|
const isFileNotFoundError = error => {
|