ywana-core8 0.0.456 → 0.0.457

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 CHANGED
@@ -4684,7 +4684,9 @@ var CollectionPage = function CollectionPage(props) {
4684
4684
  };
4685
4685
 
4686
4686
  var site = React.useContext(SiteContext);
4687
- var _props$id = props.id,
4687
+ var _props$version = props.version,
4688
+ version = _props$version === void 0 ? 0 : _props$version,
4689
+ _props$id = props.id,
4688
4690
  id = _props$id === void 0 ? "collection" : _props$id,
4689
4691
  icon = props.icon,
4690
4692
  title = props.title,
@@ -4719,7 +4721,7 @@ var CollectionPage = function CollectionPage(props) {
4719
4721
  } catch (e) {
4720
4722
  return Promise.reject(e);
4721
4723
  }
4722
- }, []);
4724
+ }, [version]);
4723
4725
 
4724
4726
  function add() {
4725
4727
  var onOK = function onOK(form) {
@@ -5252,7 +5254,6 @@ var FieldViewer = function FieldViewer(props) {
5252
5254
  visible = _field$visible === void 0 ? true : _field$visible,
5253
5255
  optional = field.optional;
5254
5256
  if (!visible) return null;
5255
- console.log("FieldViewer Optional", field, value, optional && value === null);
5256
5257
  if (optional && value === undefined) return null;
5257
5258
 
5258
5259
  switch (type) {