mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Fixed an issue where the size displayed as 'NaN B' for all databases in the statistics tab. #7524
This commit is contained in:
parent
6509e45b6f
commit
29a526626f
@ -30,3 +30,4 @@ Bug fixes
|
||||
|
||||
| `Issue #5785 <https://github.com/pgadmin-org/pgadmin4/issues/5785>`_ - Fix an issue where user authentication fails with special characters in password.
|
||||
| `Issue #7480 <https://github.com/pgadmin-org/pgadmin4/issues/7480>`_ - Fixed an issue where canceling a query without privilege does not display any message on query tool.
|
||||
| `Issue #7524 <https://github.com/pgadmin-org/pgadmin4/issues/7524>`_ - Fixed an issue where the size displayed as 'NaN B' for all databases in the statistics tab.
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user