#12175 Fix recovery alert icon

This commit is contained in:
miguel angel rasteu 2023-11-02 15:11:53 +01:00
parent 5265ecbe9c
commit 84ab19119b

View File

@ -2594,6 +2594,7 @@ function events_print_type_img(
switch ($type) { switch ($type) {
case 'alert_recovered': case 'alert_recovered':
$style .= ' alert_module_background_state icon_background_normal '; $style .= ' alert_module_background_state icon_background_normal ';
$icon = '';
break; break;
case 'alert_manual_validation': case 'alert_manual_validation':
@ -2680,6 +2681,16 @@ function events_print_type_img(
); );
} }
if ($type === 'alert_recovered') {
$output = html_print_div(
[
'title' => events_print_type_description($type, true),
'class' => $style,
],
true
);
}
if ($return) { if ($return) {
return $output; return $output;
} }