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/package.json
CHANGED
@@ -388,7 +388,10 @@ const CollectionEditor = (props) => {
|
|
388
388
|
}
|
389
389
|
|
390
390
|
function change(next) {
|
391
|
-
setForm(
|
391
|
+
setForm((prev) => {
|
392
|
+
console.log("CHANGE", prev, next)
|
393
|
+
return next
|
394
|
+
})
|
392
395
|
}
|
393
396
|
|
394
397
|
function canSave() {
|
@@ -398,6 +401,7 @@ const CollectionEditor = (props) => {
|
|
398
401
|
}
|
399
402
|
|
400
403
|
async function save() {
|
404
|
+
console.log("SAVE", form)
|
401
405
|
if (patch) {
|
402
406
|
await pageContext.patch(form.id, form)
|
403
407
|
} else {
|