diff --git a/app/view-composers.php b/app/view-composers.php index c28ee596..78bccc6c 100644 --- a/app/view-composers.php +++ b/app/view-composers.php @@ -7,11 +7,11 @@ ->groupBy('status') ->orderBy('status', 'desc'); - if ($incidents->count() === 0 || (int) $incident->first()->status === 4) { + if ($incidents->count() === 0 || (int) $incidents->first()->status === 4) { $status = 'success'; $message = 'All systems are functional.'; } else { - $status = 'error'; + $status = 'danger'; $message = 'Some systems are experiencing issues.'; }