ywana-core8 0.0.444 → 0.0.445
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 +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +2 -2
package/dist/index.umd.js
CHANGED
@@ -5242,10 +5242,9 @@
|
|
5242
5242
|
label = field.label,
|
5243
5243
|
_field$visible = field.visible,
|
5244
5244
|
visible = _field$visible === void 0 ? true : _field$visible,
|
5245
|
-
|
5246
|
-
optional = _field$optional === void 0 ? false : _field$optional;
|
5245
|
+
optional = field.optional;
|
5247
5246
|
if (!visible) return null;
|
5248
|
-
if (optional
|
5247
|
+
if (optional && !value) return null;
|
5249
5248
|
console.log('contentviewer>fieldViewer', field, optional === true, !value);
|
5250
5249
|
|
5251
5250
|
switch (type) {
|