Skip to content

Commit

Permalink
Add filter
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvg93 committed Nov 23, 2024
1 parent 8fbb662 commit e19e9c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Filament/Resources/ResultResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ public static function table(Table $table): Table
Tables\Filters\SelectFilter::make('status')
->multiple()
->options(ResultStatus::class),
Tables\Filters\TernaryFilter::make('healthy')
->placeholder('-')
->trueLabel('Only healthy speedtests')
->falseLabel('Only unhealthy speedtests'),
])
->actions([
Tables\Actions\ActionGroup::make([
Expand Down

0 comments on commit e19e9c6

Please sign in to comment.