ywana-core8 0.0.521 → 0.0.522
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +8 -1
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -90,7 +90,6 @@ export const TablePage = (props) => {
|
|
90
90
|
}
|
91
91
|
|
92
92
|
async function save() {
|
93
|
-
console.log('saving.....')
|
94
93
|
await pageContext.update(form)
|
95
94
|
setPageContext(Object.assign({}, pageContext))
|
96
95
|
}
|
@@ -412,6 +411,14 @@ export const TableEditor = (props) => {
|
|
412
411
|
|
413
412
|
function renderGroups() {
|
414
413
|
const items = filter ? filter(all) : all
|
414
|
+
|
415
|
+
if (items.length === 0) return (
|
416
|
+
<div className='empty-message'>
|
417
|
+
<Icon icon="search_off" />
|
418
|
+
<Text>No Result Found</Text>
|
419
|
+
</div>
|
420
|
+
)
|
421
|
+
|
415
422
|
const groups = items.reduce((groups, item) => {
|
416
423
|
const groupName = item[groupBy]
|
417
424
|
const group = groups[groupName]
|