ywana-core8 0.0.672 → 0.0.673

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.672",
3
+ "version": "0.0.673",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -514,8 +514,8 @@ const TableEditor = (props) => {
514
514
  const groups = items.reduce((groups, item) => {
515
515
  let groupName = item[groupBy]
516
516
  if (!groupName) groupName=`SIN ${groupBy}`.toUpperCase()
517
- if (groupName === false) groupName = `NO ${groupBy}`.toUp
518
- if (groupName === true) groupName = `SI ${groupBy}`.toUp
517
+ if (groupName === false) groupName = `NO ${groupBy}`.toUpperCase()
518
+ if (groupName === true) groupName = `SI ${groupBy}`.toUpperCase()
519
519
  const group = groups[groupName]
520
520
  if (!group) groups[groupName] = []
521
521
  groups[groupName].push(item)
@@ -432,7 +432,10 @@ export const TableEditor = (props) => {
432
432
  )
433
433
 
434
434
  const groups = items.reduce((groups, item) => {
435
- const groupName = item[groupBy]
435
+ let groupName = item[groupBy]
436
+ if (!groupName) groupName=`SIN ${groupBy}`.toUpperCase()
437
+ if (groupName === false) groupName = `NO ${groupBy}`.toUpperCase()
438
+ if (groupName === true) groupName = `SI ${groupBy}`.toUpperCase()
436
439
  const group = groups[groupName]
437
440
  if (!group) groups[groupName] = []
438
441
  groups[groupName].push(item)