@visns-studio/visns-components 2.0.3 → 2.0.5
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.
|
@@ -473,7 +473,7 @@ const DataGrid = forwardRef(
|
|
|
473
473
|
if (acc === '') {
|
|
474
474
|
return data[id];
|
|
475
475
|
} else {
|
|
476
|
-
return acc[id];
|
|
476
|
+
return acc ? acc[id] : '';
|
|
477
477
|
}
|
|
478
478
|
}, '');
|
|
479
479
|
|
|
@@ -701,7 +701,7 @@ const DataGrid = forwardRef(
|
|
|
701
701
|
if (acc === '') {
|
|
702
702
|
return data[id];
|
|
703
703
|
} else {
|
|
704
|
-
return acc[id];
|
|
704
|
+
return acc ? acc[id] : '';
|
|
705
705
|
}
|
|
706
706
|
}, '');
|
|
707
707
|
|
package/package.json
CHANGED