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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +2 -2
- package/src/domain/ContentViewer.js +0 -2
package/dist/index.umd.js
CHANGED
@@ -4679,7 +4679,9 @@
|
|
4679
4679
|
};
|
4680
4680
|
|
4681
4681
|
var site = React.useContext(SiteContext);
|
4682
|
-
var _props$
|
4682
|
+
var _props$version = props.version,
|
4683
|
+
version = _props$version === void 0 ? 0 : _props$version,
|
4684
|
+
_props$id = props.id,
|
4683
4685
|
id = _props$id === void 0 ? "collection" : _props$id,
|
4684
4686
|
icon = props.icon,
|
4685
4687
|
title = props.title,
|
@@ -4714,7 +4716,7 @@
|
|
4714
4716
|
} catch (e) {
|
4715
4717
|
return Promise.reject(e);
|
4716
4718
|
}
|
4717
|
-
}, []);
|
4719
|
+
}, [version]);
|
4718
4720
|
|
4719
4721
|
function add() {
|
4720
4722
|
var onOK = function onOK(form) {
|
@@ -5247,7 +5249,6 @@
|
|
5247
5249
|
visible = _field$visible === void 0 ? true : _field$visible,
|
5248
5250
|
optional = field.optional;
|
5249
5251
|
if (!visible) return null;
|
5250
|
-
console.log("FieldViewer Optional", field, value, optional && value === null);
|
5251
5252
|
if (optional && value === undefined) return null;
|
5252
5253
|
|
5253
5254
|
switch (type) {
|