mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-12 16:11:59 -05:00
Fixed the refresh issue when a server gets disconnected.
This commit is contained in:
1 parent
a6e96c5576
commit
0e044e1216
1 file changed
+1
-1
@@ -91,7 +91,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
||||
d.connected = false;
|
||||
d.icon = 'icon-server-not-connected';
|
||||
t.addIcon(i, {icon: d.icon});
|
||||
obj.callbacks.refresh.apply(obj, [i]);
|
||||
obj.callbacks.refresh.apply(obj, [null, i]);
|
||||
if (pgBrowser.serverInfo && d._id in pgBrowser.serverInfo) {
|
||||
delete pgBrowser.serverInfo[d._id]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user