Fixed the server heartbeat logging issue when server is removed. #5567

This commit is contained in:
Khushboo Vashi
2023-01-30 15:39:34 +05:30
committed by GitHub
parent ea3dffe78d
commit 7a18ceab64
5 changed files with 85 additions and 22 deletions

View File

@@ -227,6 +227,9 @@ define('pgadmin.node.server', [
}
t.unload(i);
}
pgBrowser.Events.trigger(
'pgadmin:server:disconnect', {item: i, data: d}, false
);
}})
.fail(function(xhr, status, error) {
Notify.pgRespErrorNotify(xhr, error);