mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where editing a database object de-selects it on the browser tree. #6136
This commit is contained in:
parent
9b85e0a4cd
commit
b5af4ead0d
@ -210,11 +210,6 @@ define('pgadmin.node.database', [
|
||||
}
|
||||
return false;
|
||||
},
|
||||
updated: (_i, _opts)=>{
|
||||
pgBrowser.tree.refresh(_i._parent).then(() =>{
|
||||
if (_opts && _opts.success) _opts.success();
|
||||
});
|
||||
},
|
||||
/* Disconnect the database */
|
||||
disconnect_database: function(args) {
|
||||
let input = args || {},
|
||||
|
@ -544,7 +544,7 @@ export default function PreferencesComponent({ ...props }) {
|
||||
data: save_data,
|
||||
}).then(() => {
|
||||
let requiresTreeRefresh = save_data.some((s)=>{
|
||||
return s.name=='show_system_objects'||s.name=='show_empty_coll_nodes'||s.name.startsWith('show_node_')||s.name=='hide_shared_server';
|
||||
return s.name=='show_system_objects'||s.name=='show_empty_coll_nodes'||s.name.startsWith('show_node_')||s.name=='hide_shared_server'||s.name=='show_user_defined_templates';
|
||||
});
|
||||
let requires_refresh = false;
|
||||
/* Find the modules changed */
|
||||
|
Loading…
Reference in New Issue
Block a user