@monolith-forensics/monolith-ui 1.3.17 → 1.3.18

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.
@@ -383,6 +383,12 @@ const TableProvider = (_a) => {
383
383
  };
384
384
  const isRowSelected = (row) => {
385
385
  const key = !!props.keyField ? row[props.keyField] : row.__key;
386
+ if (selectionStatus === SelectionStatus.All) {
387
+ return true;
388
+ }
389
+ if (selectionStatus === SelectionStatus.None) {
390
+ return false;
391
+ }
386
392
  return selectedRowKeys.includes(key);
387
393
  };
388
394
  const getCalculatedSelectionTotal = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.3.17",
3
+ "version": "1.3.18",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",