mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Fixed an issue while creating a new database throwing an error that failed to retrieve data. Fixes #7322
This commit is contained in:
1 parent
f28e8126af
commit
ab8e9a8ea5
6 files changed
+37
-30
No files matched your search
@@ -80,6 +80,7 @@ function getColumn(data, singleLineStatistics) {
|
||||
if (!_.isNull(rowB.values[id]) && typeof (rowB.values[id]) == 'string' && rowB.values[id].indexOf(t) > -1) {
|
||||
val2 = parseInt(rowB.values[id]) * Math.pow(1024, i);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
if ((val1) > (val2) || _.isNull(val2)) {
|
||||
@@ -273,9 +274,8 @@ export default function Statistics({ nodeData, item, node, ...props }) {
|
||||
></PgTable>
|
||||
) : (
|
||||
<div className={classes.emptyPanel}>
|
||||
{loaderText ? (<Loader message={loaderText} className={classes.loading} />) :
|
||||
<EmptyPanelMessage text={gettext(msg)}/>
|
||||
}
|
||||
<Loader message={loaderText} className={classes.loading} />
|
||||
<EmptyPanelMessage text={gettext(msg)}/>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user