wip
This commit is contained in:
1 parent
27badf9140
commit
7beb7789a9
1 file changed
+2
@@ -134,6 +134,7 @@ class Statistic extends BaseDashboard
|
|||||||
Action::make('copyCostToPrice')
|
Action::make('copyCostToPrice')
|
||||||
->action(function (callable $set) {
|
->action(function (callable $set) {
|
||||||
$set('tm_player_id', null);
|
$set('tm_player_id', null);
|
||||||
|
$set('player_on_field', null);
|
||||||
})
|
})
|
||||||
->color('gray')
|
->color('gray')
|
||||||
->icon('phosphor-x'),
|
->icon('phosphor-x'),
|
||||||
@@ -148,6 +149,7 @@ class Statistic extends BaseDashboard
|
|||||||
->label('Time on field')
|
->label('Time on field')
|
||||||
->prefixIcon('phosphor-watch')
|
->prefixIcon('phosphor-watch')
|
||||||
->default('all')
|
->default('all')
|
||||||
|
->disabled(fn (Get $get) => ! $get('tm_player_id'))
|
||||||
->selectablePlaceholder(false)
|
->selectablePlaceholder(false)
|
||||||
->options([
|
->options([
|
||||||
'all' => 'All',
|
'all' => 'All',
|
||||||
|
|||||||
Reference in new issue
Block a user