1) Fixed linter error.

2) Fixed an issue where a password popup will appear on disconnecting from the server.
This commit is contained in:
Khushboo Vashi
2022-04-26 18:16:33 +05:30
committed by Akshay Joshi
parent 5677b1e5f8
commit 7d91cca14d
6 changed files with 13 additions and 13 deletions

View File

@@ -267,7 +267,7 @@ define('pgadmin.node.server', [
t.addIcon(i, {icon: d.icon});
obj.callbacks.refresh.apply(obj, [null, i]);
setTimeout(() => {
t.toggle(i);
t.close(i);
}, 10);
if (pgBrowser.serverInfo && d._id in pgBrowser.serverInfo) {
delete pgBrowser.serverInfo[d._id];