Fixed an issue while creating a new database throwing an error that failed to retrieve data. Fixes #7322

This commit is contained in:
Pradip Parkale authored and Akshay Joshi committed 2022-04-22 15:42:04 +05:30
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>
)}
</>