ywana-core8 0.0.305 → 0.0.308
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +4 -2
package/dist/index.modern.js
CHANGED
@@ -5126,7 +5126,8 @@ var TablePage = function TablePage(props) {
|
|
5126
5126
|
formFilter = props.formFilter,
|
5127
5127
|
tableFilter = props.tableFilter,
|
5128
5128
|
_props$editorFilter = props.editorFilter,
|
5129
|
-
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter
|
5129
|
+
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
|
5130
|
+
children = props.children;
|
5130
5131
|
|
5131
5132
|
var _useContext = useContext(PageContext),
|
5132
5133
|
pageContext = _useContext[0],
|
@@ -5283,7 +5284,7 @@ var TablePage = function TablePage(props) {
|
|
5283
5284
|
}) : null) : null, /*#__PURE__*/React.createElement("main", {
|
5284
5285
|
key: id,
|
5285
5286
|
className: "table-page"
|
5286
|
-
}, /*#__PURE__*/React.createElement(TableEditor, {
|
5287
|
+
}, children ? /*#__PURE__*/React.createElement("article", null, children) : null, /*#__PURE__*/React.createElement(TableEditor, {
|
5287
5288
|
icon: icon,
|
5288
5289
|
title: name,
|
5289
5290
|
schema: schema,
|
@@ -5856,7 +5857,7 @@ var TableContext = function TableContext(url, field, host, urlQuery) {
|
|
5856
5857
|
|
5857
5858
|
var _temp15 = _catch(function () {
|
5858
5859
|
return Promise.resolve(API.createQuery(query, urlQuery)).then(function () {
|
5859
|
-
_this13.loadQueries(user);
|
5860
|
+
return Promise.resolve(_this13.loadQueries(user)).then(function () {});
|
5860
5861
|
});
|
5861
5862
|
}, function (error) {
|
5862
5863
|
console.log(error);
|