@visns-studio/visns-components 1.1.1 → 1.1.3
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.
|
@@ -466,10 +466,17 @@ const DataGrid = (props) => {
|
|
|
466
466
|
defaultFlex: 1,
|
|
467
467
|
link: column.link ? column.link : {},
|
|
468
468
|
render: ({ data }) => {
|
|
469
|
-
if (
|
|
470
|
-
data
|
|
469
|
+
if (
|
|
470
|
+
data &&
|
|
471
|
+
data[column.id] &&
|
|
472
|
+
data[column.id][column.jsonData]
|
|
473
|
+
) {
|
|
474
|
+
data = data[column.id][column.jsonData];
|
|
475
|
+
|
|
476
|
+
return <span>{data}</span>;
|
|
477
|
+
} else {
|
|
478
|
+
return null;
|
|
471
479
|
}
|
|
472
|
-
return <span>{data}</span>;
|
|
473
480
|
},
|
|
474
481
|
};
|
|
475
482
|
case "number":
|
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react-dom": ">=18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"name": "@visns-studio/visns-components",
|
|
35
|
-
"version": "1.1.
|
|
35
|
+
"version": "1.1.3",
|
|
36
36
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
37
37
|
"main": "index.js",
|
|
38
38
|
"devDependencies": {},
|