@visns-studio/visns-components 1.1.2 → 1.1.4

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.
@@ -13,6 +13,7 @@ import {
13
13
  Check,
14
14
  Clock,
15
15
  CloudDownload,
16
+ Copy,
16
17
  Edit,
17
18
  Ribbon,
18
19
  Search,
@@ -322,6 +323,8 @@ const DataGrid = (props) => {
322
323
  switch (s.id) {
323
324
  case "complete":
324
325
  return getIconComponent(Check);
326
+ case "copy":
327
+ return getIconComponent(Copy);
325
328
  case "delete":
326
329
  return getIconComponent(Backspace);
327
330
  case "primary":
@@ -472,8 +475,11 @@ const DataGrid = (props) => {
472
475
  data[column.id][column.jsonData]
473
476
  ) {
474
477
  data = data[column.id][column.jsonData];
478
+
479
+ return <span>{data}</span>;
480
+ } else {
481
+ return null;
475
482
  }
476
- return <span>{data}</span>;
477
483
  },
478
484
  };
479
485
  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.2",
35
+ "version": "1.1.4",
36
36
  "description": "Various packages to assist in the development of our Custom Applications.",
37
37
  "main": "index.js",
38
38
  "devDependencies": {},