diff --git a/docs/en_US/release_notes_6_1.rst b/docs/en_US/release_notes_6_1.rst index ee4526812..f8a231db2 100644 --- a/docs/en_US/release_notes_6_1.rst +++ b/docs/en_US/release_notes_6_1.rst @@ -27,6 +27,7 @@ Bug fixes | `Issue #6790 `_ - Fixed an issue where the user is unable to create an index with concurrently keyword. | `Issue #6797 `_ - Remove an extra blank line at the start of the SQL for function, procedure, and trigger function. | `Issue #6828 `_ - Fixed an issue where the tree is not scrolling to the object selected from the search result. +| `Issue #6876 `_ - Ensure that the Dashboard should get updated after connecting to the server. | `Issue #6881 `_ - Fixed an issue where the browser tree doesn't show all contents on changing resolution. | `Issue #6882 `_ - Ensure that columns should be displayed in the order of creation instead of alphabetical order in the browser tree. | `Issue #6891 `_ - Added support for composite foreign keys in the ERD tool. diff --git a/web/pgadmin/browser/server_groups/servers/static/js/server.js b/web/pgadmin/browser/server_groups/servers/static/js/server.js index ac7649ab5..afb850d46 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/server.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js @@ -921,6 +921,8 @@ define('pgadmin.node.server', [ 'pgadmin:database:connected', _data._id, _data.db, _item, _data ); + // Load dashboard + pgBrowser.Events.trigger('pgadmin-browser:tree:selected', _item, _data, node); // We're not reconnecting if (!_wasConnected) { _tree.setInode(_item);