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.
@@ -4676,7 +4676,9 @@ var CollectionPage = function CollectionPage(props) {
4676
4676
  };
4677
4677
 
4678
4678
  var site = useContext(SiteContext);
4679
- var _props$id = props.id,
4679
+ var _props$version = props.version,
4680
+ version = _props$version === void 0 ? 0 : _props$version,
4681
+ _props$id = props.id,
4680
4682
  id = _props$id === void 0 ? "collection" : _props$id,
4681
4683
  icon = props.icon,
4682
4684
  title = props.title,
@@ -4711,7 +4713,7 @@ var CollectionPage = function CollectionPage(props) {
4711
4713
  } catch (e) {
4712
4714
  return Promise.reject(e);
4713
4715
  }
4714
- }, []);
4716
+ }, [version]);
4715
4717
 
4716
4718
  function add() {
4717
4719
  var onOK = function onOK(form) {
@@ -5244,7 +5246,6 @@ var FieldViewer = function FieldViewer(props) {
5244
5246
  visible = _field$visible === void 0 ? true : _field$visible,
5245
5247
  optional = field.optional;
5246
5248
  if (!visible) return null;
5247
- console.log("FieldViewer Optional", field, value, optional && value === null);
5248
5249
  if (optional && value === undefined) return null;
5249
5250
 
5250
5251
  switch (type) {