@visns-studio/visns-components 5.1.14 → 5.1.15

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
@@ -77,7 +77,7 @@
77
77
  "react-dom": "^17.0.0 || ^18.0.0"
78
78
  },
79
79
  "name": "@visns-studio/visns-components",
80
- "version": "5.1.14",
80
+ "version": "5.1.15",
81
81
  "description": "Various packages to assist in the development of our Custom Applications.",
82
82
  "main": "src/index.js",
83
83
  "files": [
@@ -515,9 +515,13 @@ function GenericDetail({
515
515
  if (item.relation?.length > 0) {
516
516
  item.relation.forEach((r, rKey) => {
517
517
  if (rKey === 0) {
518
- fileData = data[r];
518
+ if (data[r]) {
519
+ fileData = data[r];
520
+ }
519
521
  } else {
520
- fileData = fileData[r];
522
+ if (fileData[r]) {
523
+ fileData = fileData[r];
524
+ }
521
525
  }
522
526
  });
523
527
  }