1. Disable ERD for system Catalogs. #5849

2. Disable Debugger for system catalogs. #6060
3. Fixed an issue where the keyboard shortcut for launching the debugger from Object Explorer was not working.
This commit is contained in:
Pravesh Sharma
2024-05-08 15:29:01 +05:30
committed by GitHub
parent 9edc1d225e
commit afc28d95cf
3 changed files with 23 additions and 32 deletions

View File

@@ -279,9 +279,9 @@ _.extend(pgBrowser.keyboardNavigation, {
if (!tree.d || (type !== 'function' && type !== 'procedure'))
return;
if (pgAdmin.Tools.Debugger.can_debug(tree.d, tree.i, {'debug_type': 'direct'})) {
if (pgAdmin.Tools.Debugger.canDebug(tree.d, tree.i, {'debug_type': 'direct'})) {
// Call debugger callback
pgAdmin.Tools.Debugger.get_function_information(pgAdmin.Browser.Nodes[type]);
pgAdmin.Tools.Debugger.getFunctionInformation(pgAdmin.Browser.Nodes[type]);
}
},
isPropertyPanelVisible: function() {