fix: add default color for service status in ServiceResource

This commit is contained in:
2025-12-20 16:26:19 -05:00
parent 3cfa5096fb
commit 33c20e991b

View File

@@ -169,6 +169,7 @@ class ServiceResource extends Resource
'active' => 'success',
'cancelled' => 'danger',
'suspended' => 'warning',
default => 'gray',
})
->formatStateUsing(fn (string $state) => ucfirst($state))
->label('Status')