@tanstack/react-table 8.15.1 → 8.15.3

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.
@@ -974,8 +974,8 @@
974
974
  });
975
975
  };
976
976
  column.getCanGroup = () => {
977
- var _ref, _ref2, _ref3, _column$columnDef$ena;
978
- return (_ref = (_ref2 = (_ref3 = (_column$columnDef$ena = column.columnDef.enableGrouping) != null ? _column$columnDef$ena : true) != null ? _ref3 : table.options.enableGrouping) != null ? _ref2 : true) != null ? _ref : !!column.accessorFn;
977
+ var _column$columnDef$ena, _table$options$enable;
978
+ return ((_column$columnDef$ena = column.columnDef.enableGrouping) != null ? _column$columnDef$ena : true) && ((_table$options$enable = table.options.enableGrouping) != null ? _table$options$enable : true) && (!!column.accessorFn || !!column.columnDef.getGroupingValue);
979
979
  };
980
980
  column.getIsGrouped = () => {
981
981
  var _table$getState$group;