mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
Update RemoteBackupServerResource.php
This commit is contained in:
parent
04330ef8b0
commit
1b4c35819e
1 changed files with 6 additions and 1 deletions
|
@ -72,7 +72,12 @@ class RemoteBackupServerResource extends Resource
|
|||
Tables\Columns\TextColumn::make('name'),
|
||||
Tables\Columns\TextColumn::make('type')->badge(),
|
||||
Tables\Columns\TextColumn::make('hostname'),
|
||||
Tables\Columns\TextColumn::make('status')->badge(),
|
||||
Tables\Columns\TextColumn::make('status')
|
||||
->badge()
|
||||
->color(fn (string $state): string => match ($state) {
|
||||
'online' => 'success',
|
||||
'offline' => 'danger',
|
||||
})
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue