Fix an issue where editing a database object de-selects it on the browser tree. #6136
parent
9b85e0a4cd
commit
b5af4ead0d
|
@ -210,11 +210,6 @@ define('pgadmin.node.database', [
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
updated: (_i, _opts)=>{
|
|
||||||
pgBrowser.tree.refresh(_i._parent).then(() =>{
|
|
||||||
if (_opts && _opts.success) _opts.success();
|
|
||||||
});
|
|
||||||
},
|
|
||||||
/* Disconnect the database */
|
/* Disconnect the database */
|
||||||
disconnect_database: function(args) {
|
disconnect_database: function(args) {
|
||||||
let input = args || {},
|
let input = args || {},
|
||||||
|
|
|
@ -544,7 +544,7 @@ export default function PreferencesComponent({ ...props }) {
|
||||||
data: save_data,
|
data: save_data,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
let requiresTreeRefresh = save_data.some((s)=>{
|
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;
|
let requires_refresh = false;
|
||||||
/* Find the modules changed */
|
/* Find the modules changed */
|
||||||
|
|
Loading…
Reference in New Issue