diff --git a/src/BIMDataComponents/BIMDataTable/table-row-selection.js b/src/BIMDataComponents/BIMDataTable/table-row-selection.js index 0508a166..4b4e3765 100644 --- a/src/BIMDataComponents/BIMDataTable/table-row-selection.js +++ b/src/BIMDataComponents/BIMDataTable/table-row-selection.js @@ -49,7 +49,7 @@ function useRowSelection( rowSelectionToggleEffect(isSelected(), { key, data }); }; const toggleFullSelection = () => { - const isSelected = () => rowSelection.value.size === rows.value.length; + const isSelected = () => rowSelection.value.size > 0; if (isSelected()) { rowSelection.value = new Map(); } else {