From 0ee571ea22e63befd0de12a6fd8d382ec1fc865f Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 17:44:47 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index ce3c9a0e..72ff64ee 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -9,7 +9,6 @@ use App\Filament\Widgets\PunctualChart; use App\Models\Element; use App\Models\StatisticFixtures; use BackedEnum; -use Closure; use Filament\Actions\Action; use Filament\Forms\Components\DatePicker; use Filament\Forms\Components\Select; @@ -155,7 +154,7 @@ class Statistic extends BaseDashboard ]), Slider::make('accuracy') ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none') - ->fillTrack(fn (Closure $get, Slider $component): bool => ! $component->isDisabled()) + ->fillTrack() ->default(0.5) ->decimalPlaces(1) ->tooltips()