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.cjs
CHANGED
@@ -7246,6 +7246,8 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7246
7246
|
});
|
7247
7247
|
};
|
7248
7248
|
|
7249
|
+
console.log("SAVE", form);
|
7250
|
+
|
7249
7251
|
var _temp6 = function () {
|
7250
7252
|
if (patch) {
|
7251
7253
|
return Promise.resolve(pageContext.patch(form.id, form)).then(function () {});
|
@@ -7325,7 +7327,10 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7325
7327
|
}
|
7326
7328
|
|
7327
7329
|
function change(next) {
|
7328
|
-
setForm(
|
7330
|
+
setForm(function (prev) {
|
7331
|
+
console.log("CHANGE", prev, next);
|
7332
|
+
return next;
|
7333
|
+
});
|
7329
7334
|
}
|
7330
7335
|
|
7331
7336
|
function canSave() {
|