diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 33d3ad7e..dbf80979 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -126,6 +126,13 @@ class Statistic extends BaseDashboard Select::make('tm_player_id') ->label('Player') ->prefixIcon('icon-player') + ->suffixAction( + Action::make('copyCostToPrice') + ->action(function (callable $set) { + $set('tm_player_id', null); + }) + ->icon('phosphor-x'), + ) ->preload() // ->searchable() ->options(function (Get $get) {