13637-Change message no data in Monitor details

This commit is contained in:
Pablo Aragon 2024-04-25 11:30:18 +02:00
parent d0dcdf5dd4
commit e4d2e08b88
1 changed files with 5 additions and 1 deletions

View File

@ -2387,7 +2387,11 @@ if (empty($result) === false) {
$tablePagination = ui_pagination($count_modules, false, $offset, 0, true, 'offset', $show_count);
}
} else {
ui_print_info_message(['no_close' => true, 'message' => __('Please apply a filter to display the data')]);
if (get_parameter('ag_group', false) !== false) {
ui_print_info_message(['no_close' => true, 'message' => __('No data to show')]);
} else {
ui_print_info_message(['no_close' => true, 'message' => __('Please apply a filter to display the data')]);
}
}
if (isset($tablePagination) === false) {