ywana-core8 0.0.665 → 0.0.666
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage2.js +3 -1
package/dist/index.modern.js
CHANGED
@@ -7567,7 +7567,8 @@ var TablePage2 = function TablePage2(props) {
|
|
7567
7567
|
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
|
7568
7568
|
tabbedBy = props.tabbedBy,
|
7569
7569
|
tableClassName = props.tableClassName,
|
7570
|
-
children = props.children
|
7570
|
+
children = props.children,
|
7571
|
+
onSelect = props.onSelect;
|
7571
7572
|
|
7572
7573
|
var _useContext = useContext(PageContext),
|
7573
7574
|
pageContext = _useContext[0],
|
@@ -7600,6 +7601,7 @@ var TablePage2 = function TablePage2(props) {
|
|
7600
7601
|
}, []);
|
7601
7602
|
useEffect(function () {
|
7602
7603
|
setForm(selected);
|
7604
|
+
if (onSelect) onSelect(selected);
|
7603
7605
|
}, [selected]);
|
7604
7606
|
useEffect(function () {
|
7605
7607
|
if (autosave) {
|