@visns-studio/visns-components 1.3.1 → 1.3.2

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.
@@ -1093,9 +1093,13 @@ const DataGrid = forwardRef(
1093
1093
  name: column.id,
1094
1094
  render: ({ data }) => {
1095
1095
  if (data && data[column.id]) {
1096
- return (
1097
- <span>{parse(data[column.id])}</span>
1098
- );
1096
+ value = data[column.id].split("<br />");
1097
+
1098
+ if (value[0]) {
1099
+ return <span>{parse(value[0])}</span>;
1100
+ } else {
1101
+ return null;
1102
+ }
1099
1103
  } else {
1100
1104
  return null;
1101
1105
  }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "react-dom": "^17.0.1"
35
35
  },
36
36
  "name": "@visns-studio/visns-components",
37
- "version": "1.3.1",
37
+ "version": "1.3.2",
38
38
  "description": "Various packages to assist in the development of our Custom Applications.",
39
39
  "main": "index.js",
40
40
  "devDependencies": {},