Fix style class invert_filter

This commit is contained in:
miguel angel rasteu 2023-04-20 11:13:47 +02:00
parent f2be417a5e
commit 8e9bc5d0bb
1 changed files with 6 additions and 1 deletions

View File

@ -2665,7 +2665,7 @@ function events_print_type_img(
$urlImage = ui_get_full_url(false);
$icon = '';
$style = 'invert_filter main_menu_icon';
$style = 'main_menu_icon';
switch ($type) {
case 'alert_recovered':
@ -2702,23 +2702,28 @@ function events_print_type_img(
break;
case 'system':
$style .= ' invert_filter';
$icon = 'images/configuration@svg.svg';
break;
case 'recon_host_detected':
$style .= ' invert_filter';
$icon = 'images/recon.png';
break;
case 'new_agent':
$style .= ' invert_filter';
$icon = 'images/agents@svg.svg';
break;
case 'configuration_change':
$style .= ' invert_filter';
$icon = 'images/configuration@svg.svg';
break;
case 'unknown':
default:
$style .= ' invert_filter';
$icon = 'images/event.svg';
break;
}