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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.814",
3
+ "version": "0.0.816",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -388,7 +388,10 @@ const CollectionEditor = (props) => {
388
388
  }
389
389
 
390
390
  function change(next) {
391
- setForm(next)
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 {