ywana-core8 0.0.520 → 0.0.521
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TabbedTablePage.js +8 -7
package/package.json
CHANGED
@@ -446,6 +446,14 @@ export const TableEditor = (props) => {
|
|
446
446
|
|
447
447
|
function renderGroups() {
|
448
448
|
const items = filter ? filter(all) : all
|
449
|
+
|
450
|
+
if (items.length === 0) return (
|
451
|
+
<div className='empty-message'>
|
452
|
+
<Icon icon="search_off" />
|
453
|
+
<Text>No Result Found</Text>
|
454
|
+
</div>
|
455
|
+
)
|
456
|
+
|
449
457
|
const groups = items.reduce((groups, item) => {
|
450
458
|
const groupName = item[groupBy]
|
451
459
|
const group = groups[groupName]
|
@@ -454,13 +462,6 @@ export const TableEditor = (props) => {
|
|
454
462
|
return groups
|
455
463
|
}, {})
|
456
464
|
|
457
|
-
if (groups.length === 0) return (
|
458
|
-
<div className='empty-message'>
|
459
|
-
<Icon icon="search_off" />
|
460
|
-
<Text>No Result Found</Text>
|
461
|
-
</div>
|
462
|
-
)
|
463
|
-
|
464
465
|
return Object.keys(groups).map(groupName => {
|
465
466
|
const table = {
|
466
467
|
columns: Object.values(schema)
|