mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Enhance the logic to change the label from 'Delete/Drop' to 'Remove' for the server and server group node. Fixes #4923
This commit is contained in:
committed by
Akshay Joshi
parent
ac2bd5e6ee
commit
d476343b99
@@ -70,6 +70,7 @@ define('pgadmin.node.server_group', [
|
||||
},
|
||||
}),
|
||||
canDrop: function(itemData) { return itemData.can_delete; },
|
||||
dropAsRemove: true,
|
||||
canDelete: function(i) {
|
||||
var s = pgAdmin.Browser.tree.siblings(i, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user