diff --git a/docs/en_US/release_notes_8_8.rst b/docs/en_US/release_notes_8_8.rst index d27c65ac0..53a77a9b4 100644 --- a/docs/en_US/release_notes_8_8.rst +++ b/docs/en_US/release_notes_8_8.rst @@ -29,4 +29,5 @@ Bug fixes ********* | `Issue #5785 `_ - Fix an issue where user authentication fails with special characters in password. - | `Issue #7480 `_ - Fixed an issue where canceling a query without privilege does not display any message on query tool. \ No newline at end of file + | `Issue #7480 `_ - Fixed an issue where canceling a query without privilege does not display any message on query tool. + | `Issue #7524 `_ - Fixed an issue where the size displayed as 'NaN B' for all databases in the statistics tab. \ No newline at end of file diff --git a/web/pgadmin/misc/statistics/static/js/Statistics.jsx b/web/pgadmin/misc/statistics/static/js/Statistics.jsx index 1555a28a4..4d0f4c391 100644 --- a/web/pgadmin/misc/statistics/static/js/Statistics.jsx +++ b/web/pgadmin/misc/statistics/static/js/Statistics.jsx @@ -89,7 +89,7 @@ function getColumn(data, singleLineStatistics, prettifyFields=[]) { columns.forEach((c)=>{ // Prettify the cell view if(prettifyFields.includes(c.header)) { - c.cell = ({value})=><>{toPrettySize(value)}; + c.cell = ({cell})=><>{toPrettySize(cell.getValue())}; c.cell.displayName = 'Cell'; c.cell.propTypes = { value: PropTypes.any,