This commit is contained in:
salam committed 2026-05-23 17:18:25 +02:00
1 parent 27badf9140
commit 7beb7789a9
1 file changed
+2
+2
View File
@@ -134,6 +134,7 @@ class Statistic extends BaseDashboard
Action::make('copyCostToPrice')
->action(function (callable $set) {
$set('tm_player_id', null);
$set('player_on_field', null);
})
->color('gray')
->icon('phosphor-x'),
@@ -148,6 +149,7 @@ class Statistic extends BaseDashboard
->label('Time on field')
->prefixIcon('phosphor-watch')
->default('all')
->disabled(fn (Get $get) => ! $get('tm_player_id'))
->selectablePlaceholder(false)
->options([
'all' => 'All',