From 02fab81d1a78b18e458ed7e3bb2d5a988366f5db Mon Sep 17 00:00:00 2001 From: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:18:54 +0000 Subject: [PATCH] MPint --- app/Filament/Admin/Pages/Health.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Filament/Admin/Pages/Health.php b/app/Filament/Admin/Pages/Health.php index f1e4e0ef33..45de20ec6b 100644 --- a/app/Filament/Admin/Pages/Health.php +++ b/app/Filament/Admin/Pages/Health.php @@ -138,6 +138,7 @@ public function backgroundColor(string $str): string public function iconColor(string $str): string { Status::from($str); + return match ($str) { Status::ok()->value => 'text-success-500 dark:text-success-600', Status::warning()->value => 'text-warning-500 dark:text-warning-600',