mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where expanding the Shared Servers group would open the properties dialog for another server.
This commit is contained in:
parent
9a7859c5cb
commit
b4e5717bde
@ -636,7 +636,7 @@ define('pgadmin.node.server', [
|
|||||||
if (res.shared && _.isNull(res.username) && data.user_id != current_user.id) {
|
if (res.shared && _.isNull(res.username) && data.user_id != current_user.id) {
|
||||||
if (!res.service) {
|
if (!res.service) {
|
||||||
pgAdmin.Browser.Node.callbacks.show_obj_properties.call(
|
pgAdmin.Browser.Node.callbacks.show_obj_properties.call(
|
||||||
pgAdmin.Browser.Nodes[tree.itemData(item)._type], {action: 'edit'}
|
pgAdmin.Browser.Nodes[tree.itemData(item)._type], {action: 'edit', 'item': item}
|
||||||
);
|
);
|
||||||
data.is_connecting = false;
|
data.is_connecting = false;
|
||||||
tree.unload(item);
|
tree.unload(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user