ywana-core8 0.0.671 → 0.0.672

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.671",
3
+ "version": "0.0.672",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -512,7 +512,10 @@ const TableEditor = (props) => {
512
512
  )
513
513
 
514
514
  const groups = items.reduce((groups, item) => {
515
- const groupName = item[groupBy]
515
+ let groupName = item[groupBy]
516
+ if (!groupName) groupName=`SIN ${groupBy}`.toUpperCase()
517
+ if (groupName === false) groupName = `NO ${groupBy}`.toUp
518
+ if (groupName === true) groupName = `SI ${groupBy}`.toUp
516
519
  const group = groups[groupName]
517
520
  if (!group) groups[groupName] = []
518
521
  groups[groupName].push(item)