Fix an issue where editing a database object de-selects it on the browser tree. #6136

This commit is contained in:
Anil Sahoo
2023-06-02 10:59:47 +05:30
committed by GitHub
parent 9b85e0a4cd
commit b5af4ead0d
2 changed files with 1 additions and 6 deletions

View File

@@ -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 */