mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the query tool is displaying an incorrect label. Fixes #7136
This commit is contained in:
committed by
Akshay Joshi
parent
78f0c9c4a5
commit
4d727015fd
@@ -2707,7 +2707,7 @@ define('tools.querytool', [
|
||||
$('#btn-conn-status i').removeClass('obtaining-conn');
|
||||
|
||||
var tree_data = pgWindow.default.pgAdmin.Browser.tree.getTreeNodeHierarchy(pgWindow.default.pgAdmin.Browser.tree.selected());
|
||||
let conn_title = panelTitleFunc.getPanelTitle(pgWindow.default.pgAdmin.Browser, null, null, null, true, tree_data.database.label);
|
||||
let conn_title = ` ${_.unescape(url_params.title)}`;
|
||||
self.gridView.set_editor_title(_.unescape(conn_title));
|
||||
let connection_data = {
|
||||
'server_group': self.gridView.handler.url_params.sgid,
|
||||
|
||||
Reference in New Issue
Block a user