wip
This commit is contained in:
1 parent
4ddf38cd62
commit
2e9a98a4e4
5 files changed
+122
-30
No files matched your search
@@ -50,6 +50,19 @@ class Statistic extends BaseDashboard
|
||||
return '';
|
||||
}
|
||||
|
||||
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
|
||||
@@ -238,18 +251,6 @@ class Statistic extends BaseDashboard
|
||||
];
|
||||
}
|
||||
|
||||
protected function getHeaderWidgets(): array
|
||||
{
|
||||
return [
|
||||
// Events
|
||||
// ChartEvent::make(),
|
||||
// ChartEventMoAv::make(),
|
||||
// Players
|
||||
// ChartPlayer::make(),
|
||||
// ChartPlayerMoAv::make(),
|
||||
];
|
||||
}
|
||||
|
||||
protected function getFooterWidgets(): array
|
||||
{
|
||||
return [
|
||||
@@ -263,8 +264,8 @@ class Statistic extends BaseDashboard
|
||||
// Players
|
||||
ChartPlayer::make(),
|
||||
ChartPlayerMoAv::make(),
|
||||
// ChartPlayerPerf::make(),
|
||||
// ChartPlayerPerfMoAv::make(),
|
||||
ChartPlayerPerf::make(),
|
||||
ChartPlayerPerfMoAv::make(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user