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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.440",
3
+ "version": "0.0.441",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -48,6 +48,7 @@ const FieldViewer = (props) => {
48
48
  const { type, item, label, visible = true } = field
49
49
 
50
50
  if (!visible) return null
51
+ if (optional && !value) return null
51
52
 
52
53
  switch (type) {
53
54
  case TYPES.STRING: