Remove session from the grid on the dashboard when it is terminated.

This commit is contained in:
Murtuza Zabuawala 2019-01-22 14:25:11 +05:30 committed by Akshay Joshi
parent a0d2c45361
commit cd311ca8a9

View File

@ -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') {