ywana-core8 0.0.671 → 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/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +4 -1
- package/src/domain/TablePage.js +4 -1
package/package.json
CHANGED
@@ -512,7 +512,10 @@ const TableEditor = (props) => {
|
|
512
512
|
)
|
513
513
|
|
514
514
|
const groups = items.reduce((groups, item) => {
|
515
|
-
|
515
|
+
let groupName = item[groupBy]
|
516
|
+
if (!groupName) groupName=`SIN ${groupBy}`.toUpperCase()
|
517
|
+
if (groupName === false) groupName = `NO ${groupBy}`.toUpperCase()
|
518
|
+
if (groupName === true) groupName = `SI ${groupBy}`.toUpperCase()
|
516
519
|
const group = groups[groupName]
|
517
520
|
if (!group) groups[groupName] = []
|
518
521
|
groups[groupName].push(item)
|
package/src/domain/TablePage.js
CHANGED
@@ -432,7 +432,10 @@ export const TableEditor = (props) => {
|
|
432
432
|
)
|
433
433
|
|
434
434
|
const groups = items.reduce((groups, item) => {
|
435
|
-
|
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)
|