Skip to content

Commit 8c96b7f

Browse files
authored
Misc JS exception report fix - SelectionStatus null check for rowCount (#1870)
### version 6.65.1 *Released*: 20 October 2025 - SelectionStatus null check for rowCount
1 parent df59cce commit 8c96b7f

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

packages/components/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@labkey/components",
3-
"version": "6.65.0",
3+
"version": "6.65.1",
44
"description": "Components, models, actions, and utility functions for LabKey applications and pages",
55
"sideEffects": false,
66
"files": [

packages/components/releaseNotes/components.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# @labkey/components
22
Components, models, actions, and utility functions for LabKey applications and pages
33

4+
### version 6.65.1
5+
*Released*: 20 October 2025
6+
- SelectionStatus null check for rowCount
7+
48
### version 6.65.0
59
*Released*: 20 October 2025
610
- QueryModel: remove selectedReportId, add selectedReportIds

packages/components/src/public/QueryModel/SelectionStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const SelectionStatus: FC<RequiresModelAndActions> = memo(({ actions, mod
4343
selectionCount = (
4444
<span className="selection-status__count">
4545
{selectionSize.toLocaleString()} of{' '}
46-
{isLoadingTotalCount ? <LoadingSpinner msg="" /> : rowCount.toLocaleString()} selected
46+
{isLoadingTotalCount ? <LoadingSpinner msg="" /> : rowCount?.toLocaleString()} selected
4747
</span>
4848
);
4949

0 commit comments

Comments
 (0)