ywana-core8 0.0.413 → 0.0.414

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.
@@ -1295,7 +1295,7 @@ var ContentType = /*#__PURE__*/function () {
1295
1295
  var id = _ref4[0],
1296
1296
  field = _ref4[1];
1297
1297
  form[id] = Object.assign({}, field, {
1298
- value: data[id]
1298
+ value: data[id] || field.defValue
1299
1299
  });
1300
1300
  return form;
1301
1301
  }, {});
@@ -5766,13 +5766,6 @@ var TableFilters = function TableFilters(props) {
5766
5766
  for (var key in fs) {
5767
5767
  if (fs[key].filter === false) delete fs[key];
5768
5768
  }
5769
- } // TODO: check this
5770
-
5771
-
5772
- if (filterSchema[key].defValue) {
5773
- var _change;
5774
-
5775
- change((_change = {}, _change[key] = filterSchema[key].defValue, _change));
5776
5769
  }
5777
5770
  }
5778
5771
  } //Object.values(filterSchema).forEach(field => field.section = null)