Skip to content

Commit

Permalink
MPint
Browse files Browse the repository at this point in the history
  • Loading branch information
RMartinOscar committed Jan 8, 2025
1 parent 1bd092d commit 02fab81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Admin/Pages/Health.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 02fab81

Please sign in to comment.