ywana-core8 0.0.109 → 0.0.110
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 +4 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -10
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -10
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +2 -4
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -230,7 +230,6 @@ const TableEditor = (props) => {
|
|
230
230
|
}
|
231
231
|
|
232
232
|
async function checkOne(id, field, value) {
|
233
|
-
console.log("checkOne", id, field, value)
|
234
233
|
check([id], value)
|
235
234
|
}
|
236
235
|
|
@@ -273,7 +272,7 @@ const TableEditor = (props) => {
|
|
273
272
|
}),
|
274
273
|
rows: groups[groupName]
|
275
274
|
.map(item => {
|
276
|
-
item.checked = pageContext.checked.has(item.id)
|
275
|
+
item.checked = pageContext.checked ? pageContext.checked.has(item.id) : false
|
277
276
|
item.actions = actions ? actions.map(action => {
|
278
277
|
return action.filter ?
|
279
278
|
action.filter(item) ? <Icon icon={action.icon} clickable size="small" action={() => run(action, item)} /> : null
|
@@ -304,7 +303,6 @@ const TableEditor = (props) => {
|
|
304
303
|
.map(field => ({ label: field.label, value: field.id }))
|
305
304
|
}
|
306
305
|
|
307
|
-
console.log('table page checked', pageContext.checked)
|
308
306
|
return (
|
309
307
|
<Fragment>
|
310
308
|
<Header icon={icon} title={<Text>{title}</Text>}>
|
@@ -318,7 +316,7 @@ const TableEditor = (props) => {
|
|
318
316
|
}
|
319
317
|
|
320
318
|
/**
|
321
|
-
*
|
319
|
+
* Table Context
|
322
320
|
*/
|
323
321
|
const TableContext = (url, field) => {
|
324
322
|
|