ywana-core8 0.0.360 → 0.0.361

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.360",
3
+ "version": "0.0.361",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -45,9 +45,9 @@ export const ContentViewer = (props) => {
45
45
  const FieldViewer = (props) => {
46
46
 
47
47
  const { field, value } = props
48
- const { id, type, item, label } = field
48
+ const { id, type, item, label, visible =t rue } = field
49
49
 
50
- if (id === "id") return null
50
+ if (id === "id" || !visible) return null
51
51
 
52
52
  switch(type) {
53
53
  case TYPES.STRING: