ywana-core8 0.0.453 → 0.0.454
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -5245,7 +5245,7 @@ var FieldViewer = function FieldViewer(props) {
|
|
5245
5245
|
optional = field.optional;
|
5246
5246
|
if (!visible) return null;
|
5247
5247
|
console.log("FieldViewer Optional", field, value, optional && value === null);
|
5248
|
-
if (optional && value ===
|
5248
|
+
if (optional && value === undefined) return null;
|
5249
5249
|
|
5250
5250
|
switch (type) {
|
5251
5251
|
case TYPES.STRING:
|