@mirror-physics/fractal-ui 0.2.0-next.67 → 0.2.0-next.68

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.
package/dist/index.cjs CHANGED
@@ -1567,6 +1567,10 @@ function SortableTable({
1567
1567
  disabled: selectableRows.length === 0,
1568
1568
  indeterminate: someRowsSelected,
1569
1569
  onCheckedChange: (checked) => {
1570
+ if (selection.onSelectAllChange) {
1571
+ selection.onSelectAllChange(selectableRows, checked);
1572
+ return;
1573
+ }
1570
1574
  selectableRows.forEach((row) => {
1571
1575
  if (selection.isSelected(row) !== checked) {
1572
1576
  selection.onSelectedChange(row, checked);