@visns-studio/visns-components 1.0.20 → 1.0.21
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.
|
@@ -350,8 +350,6 @@ const DataGrid = (props) => {
|
|
|
350
350
|
|
|
351
351
|
useEffect(() => {
|
|
352
352
|
const renderColumn = (column) => {
|
|
353
|
-
let nameFrom;
|
|
354
|
-
|
|
355
353
|
switch (column.type) {
|
|
356
354
|
case "created_by":
|
|
357
355
|
return {
|
|
@@ -515,14 +513,13 @@ const DataGrid = (props) => {
|
|
|
515
513
|
|
|
516
514
|
if (value) {
|
|
517
515
|
if (Array.isArray(column.nameFrom)) {
|
|
518
|
-
let
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
);
|
|
516
|
+
let tempValue = "";
|
|
517
|
+
|
|
518
|
+
column.nameFrom.forEach((nf) => {
|
|
519
|
+
tempValue += value[nf] + " ";
|
|
520
|
+
});
|
|
524
521
|
|
|
525
|
-
value =
|
|
522
|
+
value = tempValue;
|
|
526
523
|
} else {
|
|
527
524
|
value = value[column.nameFrom];
|
|
528
525
|
}
|
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.0.
|
|
35
|
+
"version": "1.0.21",
|
|
36
36
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
37
37
|
"main": "index.js",
|
|
38
38
|
"devDependencies": {},
|