mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the server is not able to connect using the service. Fixes #5841
This commit is contained in:
committed by
Akshay Joshi
parent
1ee9cddceb
commit
458036ad6b
@@ -1208,7 +1208,7 @@ define('pgadmin.node.server', [
|
||||
$.get(server_url)
|
||||
.done(function(res) {
|
||||
if (res.shared && _.isNull(res.username) && data.user_id != current_user.id){
|
||||
if (selectedTreeNodeData._type == 'server'){
|
||||
if (selectedTreeNodeData._type == 'server' && !res.service){
|
||||
pgAdmin.Browser.Node.callbacks.show_obj_properties.call(
|
||||
pgAdmin.Browser.Nodes[tree.itemData(item)._type], {action: 'edit'}
|
||||
);
|
||||
|
Reference in New Issue
Block a user