@tanstack/react-table 8.13.0 → 8.13.1
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.
|
@@ -2517,8 +2517,9 @@
|
|
|
2517
2517
|
}
|
|
2518
2518
|
};
|
|
2519
2519
|
column.getIsVisible = () => {
|
|
2520
|
-
var
|
|
2521
|
-
|
|
2520
|
+
var _ref, _table$getState$colum;
|
|
2521
|
+
const childColumns = column.columns;
|
|
2522
|
+
return (_ref = childColumns.length ? childColumns.some(c => c.getIsVisible()) : (_table$getState$colum = table.getState().columnVisibility) == null ? void 0 : _table$getState$colum[column.id]) != null ? _ref : true;
|
|
2522
2523
|
};
|
|
2523
2524
|
column.getCanHide = () => {
|
|
2524
2525
|
var _column$columnDef$ena, _table$options$enable;
|