wip
This commit is contained in:
1 parent
d954a9fa5c
commit
4b4952bfec
16 files changed
+251
-340
No files matched your search
@@ -50,24 +50,6 @@ class Statistic extends BaseDashboard
|
||||
return '';
|
||||
}
|
||||
|
||||
public function updatedFilter($value) // Or whatever your property name is
|
||||
{
|
||||
$this->dispatch('filterChanged', filterValue: $value);
|
||||
}
|
||||
|
||||
// protected function getHeaderActions(): array
|
||||
// {
|
||||
// return [
|
||||
// Action::make('collapseAll')
|
||||
// ->label('Collapse All Charts')
|
||||
// ->icon('heroicon-m-chevron-up')
|
||||
// ->color('gray')
|
||||
// ->action(function ($record, $livewire) {
|
||||
// $livewire->dispatch('collapse-all-charts');
|
||||
// }),
|
||||
// ];
|
||||
// }
|
||||
|
||||
public function filtersForm(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
@@ -94,7 +76,6 @@ class Statistic extends BaseDashboard
|
||||
$set('match_id', null);
|
||||
$set('team_id', null);
|
||||
$set('tm_player_id', null);
|
||||
$this->dispatch('filterChanged', filterValue: $state);
|
||||
}),
|
||||
Select::make('match_id')
|
||||
->hiddenLabel()
|
||||
@@ -198,7 +179,7 @@ class Statistic extends BaseDashboard
|
||||
'ofs' => 'Offside',
|
||||
'crd' => 'Cards',
|
||||
'snt' => 'Shots On Target',
|
||||
'tsh' => 'Total shots',
|
||||
'tsh' => 'Total Shots',
|
||||
]),
|
||||
Select::make('similar_past_matches')
|
||||
->hiddenLabel()
|
||||
|
||||
Reference in new issue
Block a user