@bluemarble/bm-components 0.0.22 → 0.0.23
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/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -3933,7 +3933,7 @@ const Grid = (props) => {
|
|
|
3933
3933
|
function handleFilterBySearch(text) {
|
|
3934
3934
|
const newArray = defaultData.filter((item) => {
|
|
3935
3935
|
for (const [, value] of Object.entries(item)) {
|
|
3936
|
-
if (`${value}`.includes(text))
|
|
3936
|
+
if (`${value}`.toLocaleLowerCase().includes(text.toLocaleLowerCase()))
|
|
3937
3937
|
return true;
|
|
3938
3938
|
}
|
|
3939
3939
|
return false;
|