Ensure that the Dashboard should get updated after connecting to the server. Fixes #6876

pull/62/head
Nikhil Mohite 2021-10-14 11:24:43 +05:30 committed by Akshay Joshi
parent 8a21d9b500
commit fa21e25cb2
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Bug fixes
| `Issue #6790 <https://redmine.postgresql.org/issues/6790>`_ - Fixed an issue where the user is unable to create an index with concurrently keyword.
| `Issue #6797 <https://redmine.postgresql.org/issues/6797>`_ - Remove an extra blank line at the start of the SQL for function, procedure, and trigger function.
| `Issue #6828 <https://redmine.postgresql.org/issues/6828>`_ - Fixed an issue where the tree is not scrolling to the object selected from the search result.
| `Issue #6876 <https://redmine.postgresql.org/issues/6876>`_ - Ensure that the Dashboard should get updated after connecting to the server.
| `Issue #6881 <https://redmine.postgresql.org/issues/6881>`_ - Fixed an issue where the browser tree doesn't show all contents on changing resolution.
| `Issue #6882 <https://redmine.postgresql.org/issues/6882>`_ - Ensure that columns should be displayed in the order of creation instead of alphabetical order in the browser tree.
| `Issue #6891 <https://redmine.postgresql.org/issues/6891>`_ - Added support for composite foreign keys in the ERD tool.

View File

@ -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);