ywana-core8 0.0.814 → 0.0.816
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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +5 -1
package/dist/index.modern.js
CHANGED
@@ -7238,6 +7238,8 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7238
7238
|
});
|
7239
7239
|
};
|
7240
7240
|
|
7241
|
+
console.log("SAVE", form);
|
7242
|
+
|
7241
7243
|
var _temp6 = function () {
|
7242
7244
|
if (patch) {
|
7243
7245
|
return Promise.resolve(pageContext.patch(form.id, form)).then(function () {});
|
@@ -7317,7 +7319,10 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7317
7319
|
}
|
7318
7320
|
|
7319
7321
|
function change(next) {
|
7320
|
-
setForm(
|
7322
|
+
setForm(function (prev) {
|
7323
|
+
console.log("CHANGE", prev, next);
|
7324
|
+
return next;
|
7325
|
+
});
|
7321
7326
|
}
|
7322
7327
|
|
7323
7328
|
function canSave() {
|