From e2c20b5022416ca597538b6b59e52c9e52a4558f Mon Sep 17 00:00:00 2001 From: Anil Sahoo Date: Thu, 5 Dec 2024 16:53:50 +0530 Subject: [PATCH] Fixed an issue where a column name change in the edit dialog of the table node does not show the updated column name. #7892 --- .../servers/databases/schemas/tables/static/js/table.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js index 528c3221d14..2ea34556a6a 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js @@ -398,6 +398,9 @@ define('pgadmin.node.table', [ } insertChildrenNodes(); } + + let selectedTable = pgBrowser.tree.selected(); + pgBrowser.tree.refresh(selectedTable); }, handle_cache: function() { // Clear Table's cache as column's type is dependent on two node