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.cjs
CHANGED
@@ -5211,9 +5211,12 @@ var FieldViewer = function FieldViewer(props) {
|
|
5211
5211
|
label = field.label,
|
5212
5212
|
_field$visible = field.visible,
|
5213
5213
|
visible = _field$visible === void 0 ? true : _field$visible,
|
5214
|
-
optional = field.optional
|
5214
|
+
optional = field.optional,
|
5215
|
+
_field$hidden = field.hidden,
|
5216
|
+
hidden = _field$hidden === void 0 ? false : _field$hidden;
|
5215
5217
|
if (!visible) return null;
|
5216
5218
|
if (optional && value === undefined) return null;
|
5219
|
+
if (hidden) return null;
|
5217
5220
|
|
5218
5221
|
switch (type) {
|
5219
5222
|
case TYPES.STRING:
|