ywana-core8 0.0.596 → 0.0.597
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -5203,9 +5203,12 @@ var FieldViewer = function FieldViewer(props) {
|
|
5203
5203
|
label = field.label,
|
5204
5204
|
_field$visible = field.visible,
|
5205
5205
|
visible = _field$visible === void 0 ? true : _field$visible,
|
5206
|
-
optional = field.optional
|
5206
|
+
optional = field.optional,
|
5207
|
+
_field$hidden = field.hidden,
|
5208
|
+
hidden = _field$hidden === void 0 ? false : _field$hidden;
|
5207
5209
|
if (!visible) return null;
|
5208
5210
|
if (optional && value === undefined) return null;
|
5211
|
+
if (hidden) return null;
|
5209
5212
|
|
5210
5213
|
switch (type) {
|
5211
5214
|
case TYPES.STRING:
|