mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that refresh button on dashboard should refresh the table. Fixes #3525
This commit is contained in:
parent
dd3c7c94e6
commit
9c8cf26784
@ -23,6 +23,7 @@ Bug fixes
|
||||
| `Bug #3407 <https://redmine.postgresql.org/issues/3407>`_ - Fix keyboard shortcuts layout in the preferences panel.
|
||||
| `Bug #3420 <https://redmine.postgresql.org/issues/3420>`_ - Merge pgcli code with version 1.10.3, which is used for auto complete feature.
|
||||
| `Bug #3461 <https://redmine.postgresql.org/issues/3461>`_ - Ensure that refreshing a node also updates the Property list.
|
||||
| `Bug #3525 <https://redmine.postgresql.org/issues/3525>`_ - Ensure that refresh button on dashboard should refresh the table.
|
||||
| `Bug #3528 <https://redmine.postgresql.org/issues/3528>`_ - Handle connection errors properly in the query tool.
|
||||
| `Bug #3547 <https://redmine.postgresql.org/issues/3547>`_ - Make session implementation thread safe
|
||||
| `Bug #3548 <https://redmine.postgresql.org/issues/3548>`_ - Ensure external table node should be visible only for GPDB.
|
||||
|
@ -1078,9 +1078,10 @@ define('pgadmin.dashboard', [
|
||||
}
|
||||
});
|
||||
|
||||
// Handle button clicks
|
||||
$('button').off('click').on('click',() => {
|
||||
switch (this.id) {
|
||||
$('button').off('click').on('click', (e) => {
|
||||
let $this = $(e.currentTarget);
|
||||
let targetID = $this.length ? $this[0].id : undefined;
|
||||
switch (targetID) {
|
||||
case 'btn_server_activity_refresh':
|
||||
pgAdmin.Dashboard.render_grid_data(div_server_activity);
|
||||
break;
|
||||
@ -1324,8 +1325,10 @@ define('pgadmin.dashboard', [
|
||||
});
|
||||
|
||||
// Handle button clicks
|
||||
$('button').off('click').on('click',() => {
|
||||
switch (this.id) {
|
||||
$('button').off('click').on('click', (e) => {
|
||||
let $this = $(e.currentTarget);
|
||||
let targetID = $this.length ? $this[0].id : undefined;
|
||||
switch (targetID) {
|
||||
case 'btn_database_activity_refresh':
|
||||
pgAdmin.Dashboard.render_grid_data(div_database_activity);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user