@visns-studio/visns-components 2.3.7 → 2.3.8

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.
@@ -352,7 +352,10 @@ const DataGrid = forwardRef(
352
352
  cellElement.parentNode.children
353
353
  ).indexOf(cellElement);
354
354
 
355
- if (columnIndex === rowProps.columns.length - 1) {
355
+ if (
356
+ rowProps.columns.length > 1 &&
357
+ columnIndex === rowProps.columns.length - 1
358
+ ) {
356
359
  // Handle last column click
357
360
  } else {
358
361
  const column = rowProps.columns[columnIndex];
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "react-dom": "^17.0.1"
43
43
  },
44
44
  "name": "@visns-studio/visns-components",
45
- "version": "2.3.7",
45
+ "version": "2.3.8",
46
46
  "description": "Various packages to assist in the development of our Custom Applications.",
47
47
  "main": "index.js",
48
48
  "scripts": {