From d45072fae5ec5e42784fb3bcdd1498dfd4cf6cd7 Mon Sep 17 00:00:00 2001 From: Khushboo Vashi Date: Tue, 16 Aug 2022 15:31:55 +0530 Subject: [PATCH] Ensure that rename panel should work on view/edit panels. Fixes #7540 --- docs/en_US/release_notes_6_13.rst | 1 + web/pgadmin/tools/sqleditor/static/js/SQLEditorModule.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_6_13.rst b/docs/en_US/release_notes_6_13.rst index 2e2016be8..edcade862 100644 --- a/docs/en_US/release_notes_6_13.rst +++ b/docs/en_US/release_notes_6_13.rst @@ -30,6 +30,7 @@ Bug fixes | `Issue #7497 `_ - Fixed an issue with the error message being displayed at the right place for Azure deployments. | `Issue #7527 `_ - Fixed API test cases for Postgres 14.4. + | `Issue #7540 `_ - Ensure that rename panel should work on view/edit panels. | `Issue #7563 `_ - Fixed an issue where autocomplete is not working after clearing the query editor. | `Issue #7573 `_ - Ensure that autocomplete does not appear when navigating code using arrow keys. | `Issue #7586 `_ - Fixed an issue with rendering geometry when selecting a complete column. diff --git a/web/pgadmin/tools/sqleditor/static/js/SQLEditorModule.js b/web/pgadmin/tools/sqleditor/static/js/SQLEditorModule.js index 33587d7e5..0edc39247 100644 --- a/web/pgadmin/tools/sqleditor/static/js/SQLEditorModule.js +++ b/web/pgadmin/tools/sqleditor/static/js/SQLEditorModule.js @@ -261,7 +261,7 @@ export default class SQLEditor { if(is_query_tool) { panel_titles = panelTitleFunc.getPanelTitle(pgBrowser, selected_item, value); } else { - panel_titles = showViewData.generateDatagridTitle(pgBrowser, selected_item, value); + panel_titles = showViewData.generateViewDataTitle(pgBrowser, selected_item, value); } // Set title to the selected tab. if (is_dirty_editor) {