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:
Pradip Parkale
2022-04-05 13:40:22 +05:30
committed by Akshay Joshi
parent 953a9d7fd1
commit 8f8adcf71b
13 changed files with 30 additions and 24 deletions

View File

@@ -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(