From 05e0a6bebadc0aa6509632aa5fcd8b072380e390 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 27 May 2026 12:30:25 +0200 Subject: [PATCH] wip --- app/Filament/Widgets/ChartMovingAveragePlayer.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Filament/Widgets/ChartMovingAveragePlayer.php b/app/Filament/Widgets/ChartMovingAveragePlayer.php index 4c93bbbe..e864dc83 100644 --- a/app/Filament/Widgets/ChartMovingAveragePlayer.php +++ b/app/Filament/Widgets/ChartMovingAveragePlayer.php @@ -32,11 +32,6 @@ class ChartMovingAveragePlayer extends ChartWidget ], ]; - public function getDescription(): ?string - { - return 'Moving Average'; - } - protected function getData(): array { if ($this->filters['statistic_type'] == 'crn') { @@ -45,7 +40,7 @@ class ChartMovingAveragePlayer extends ChartWidget $this->heading = 'Player'; - $this->description = HelperStatisticType::get($this->filters); + $this->description = HelperStatisticType::get($this->filters).' Moving Average'; $data = LoadPlayer::load($this->filters);