@tanstack/svelte-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.
|
@@ -2498,8 +2498,9 @@
|
|
|
2498
2498
|
}
|
|
2499
2499
|
};
|
|
2500
2500
|
column.getIsVisible = () => {
|
|
2501
|
-
var
|
|
2502
|
-
|
|
2501
|
+
var _ref, _table$getState$colum;
|
|
2502
|
+
const childColumns = column.columns;
|
|
2503
|
+
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;
|
|
2503
2504
|
};
|
|
2504
2505
|
column.getCanHide = () => {
|
|
2505
2506
|
var _column$columnDef$ena, _table$options$enable;
|