@visns-studio/visns-components 1.1.5 → 1.1.6
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.
|
@@ -365,9 +365,17 @@ const DataGrid = (props) => {
|
|
|
365
365
|
? column.width
|
|
366
366
|
: undefined,
|
|
367
367
|
render: ({ data }) => {
|
|
368
|
-
|
|
368
|
+
if (
|
|
369
|
+
data.audits[0] &&
|
|
370
|
+
data.audits[0].user &&
|
|
371
|
+
data.audits[0].user.name
|
|
372
|
+
) {
|
|
373
|
+
let value = data.audits[0].user.name;
|
|
369
374
|
|
|
370
|
-
|
|
375
|
+
return <span>{value}</span>;
|
|
376
|
+
} else {
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
371
379
|
},
|
|
372
380
|
};
|
|
373
381
|
case "currency":
|
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.6",
|
|
36
36
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
37
37
|
"main": "index.js",
|
|
38
38
|
"devDependencies": {},
|