fix: add default color for service status in ServiceResource
This commit is contained in:
@@ -169,6 +169,7 @@ class ServiceResource extends Resource
|
||||
'active' => 'success',
|
||||
'cancelled' => 'danger',
|
||||
'suspended' => 'warning',
|
||||
default => 'gray',
|
||||
})
|
||||
->formatStateUsing(fn (string $state) => ucfirst($state))
|
||||
->label('Status')
|
||||
|
||||
Reference in New Issue
Block a user