mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
Remove session from the grid on the dashboard when it is terminated.
This commit is contained in:
parent
a0d2c45361
commit
cd311ca8a9
@ -70,12 +70,8 @@ define('pgadmin.dashboard', [
|
||||
return;
|
||||
|
||||
// This will refresh the grid
|
||||
var refresh_grid = function() {
|
||||
if (is_server_dashboard) {
|
||||
$('#btn_server_activity_refresh').trigger('click');
|
||||
} else if (is_database_dashboard) {
|
||||
$('#btn_database_activity_refresh').trigger('click');
|
||||
}
|
||||
let refresh_grid = () => {
|
||||
$('#btn_refresh').trigger('click');
|
||||
};
|
||||
|
||||
if (cell_action === 'cancel') {
|
||||
|
Loading…
Reference in New Issue
Block a user