mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1 Fixed the issue where db connection was getting disconnected for dashboard, if network is slow.
2 Fixed publication collection node properties issue which was missed during react node porting. 3 Removed unwanted variable from theme style sheet.
This commit is contained in:
committed by
Akshay Joshi
parent
953a9d7fd1
commit
8f8adcf71b
@@ -86,7 +86,7 @@ export function CollectionNodeView({
|
||||
const [data, setData] = React.useState([]);
|
||||
const [infoMsg, setInfoMsg] = React.useState('Please select an object in the tree view.');
|
||||
const [selectedObject, setSelectedObject] = React.useState([]);
|
||||
const [reload, setReload] = React.useState();
|
||||
const [reload, setReload] = React.useState(false);
|
||||
|
||||
const [pgTableColumns, setPgTableColumns] = React.useState([
|
||||
{
|
||||
@@ -162,7 +162,7 @@ export function CollectionNodeView({
|
||||
if (res.success == 0) {
|
||||
pgBrowser.report_error(res.errormsg, res.info);
|
||||
}
|
||||
setReload(true);
|
||||
setReload(!reload);
|
||||
})
|
||||
.catch(function (error) {
|
||||
Notify.alert(
|
||||
|
||||
@@ -221,7 +221,6 @@ export default function Statistics({ nodeData, item, node, ...props }) {
|
||||
}
|
||||
if (message != '') {
|
||||
setMsg(message);
|
||||
setLoaderText('');
|
||||
}
|
||||
return () => {
|
||||
setTableData([]);
|
||||
|
||||
Reference in New Issue
Block a user