ywana-core8 0.0.440 → 0.0.441

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 CHANGED
@@ -5248,6 +5248,7 @@ var FieldViewer = function FieldViewer(props) {
5248
5248
  _field$visible = field.visible,
5249
5249
  visible = _field$visible === void 0 ? true : _field$visible;
5250
5250
  if (!visible) return null;
5251
+ if (optional && !value) return null;
5251
5252
 
5252
5253
  switch (type) {
5253
5254
  case TYPES.STRING: