[Web] Small UI fixes

This commit is contained in:
andryyy
2021-05-23 23:09:37 +02:00
parent 233179daf1
commit bbb1d7aa39
4 changed files with 15 additions and 9 deletions

View File

@@ -79,6 +79,7 @@ $(document).ready(function() {
foreach($alertbox_log_parser as $log) {
$alerts[$log['type']][] = $log['msg'];
}
$alerts = array_filter(array_unique($alerts));
foreach($alerts as $alert_type => $alert_msg) {
?>
mailcow_alert_box(<?=json_encode(implode('<hr class="alert-hr">', $alert_msg));?>, <?=$alert_type;?>);