[
https://issues.apache.org/jira/browse/ATLAS-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad P. Pawar resolved ATLAS-5153.
------------------------------------
Fix Version/s: 3.0.0
2.5.0
Resolution: Fixed
Now the count on the statistic component will display properly on the UI.
> React UI: Statistics component displays count as NaN when total exceeds 999
> ---------------------------------------------------------------------------
>
> Key: ATLAS-5153
> URL: https://issues.apache.org/jira/browse/ATLAS-5153
> Project: Atlas
> Issue Type: Bug
> Reporter: Prasad P. Pawar
> Assignee: Prasad P. Pawar
> Priority: Major
> Labels: atlas-react
> Fix For: 3.0.0, 2.5.0
>
> Attachments: Screenshot from 2025-10-08 18-26-37.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In the React UI, the statistics component is showing the count value as _NaN_
> instead of the actual number when the total entity count (including active,
> deleted, and shell entities) exceeds 999.
> *Steps to Reproduce:*
> # Navigate to the statistics component in the React UI.
> # Ensure the total entity count (active + deleted + shell) exceeds 999.
> # Observe that the count is displayed as {_}NaN{_}.
> *Expected Behavior:*
> The component should correctly display the numerical count, even for totals
> greater than 999.
> *Impact:*
> Users are unable to view accurate entity statistics when counts exceed three
> digits.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)