ywana-core8 0.0.744 → 0.0.745

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.744",
3
+ "version": "0.0.745",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -319,7 +319,7 @@ export const CollectionTree = (props) => {
319
319
  function search() {
320
320
  const items = filter ? all.filter(item => {
321
321
  const result = searchBy.some(fieldName => {
322
- const value = item[fieldName]
322
+ const value = item[fieldName] ? item[fieldName].toUpperCase() : ""
323
323
  return value ? value.indexOf(filter.toUpperCase()) >= 0 : false
324
324
  })
325
325
  return result