From a270819e9a8df21655afee9f28b1cd0aef03a39c Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 17:40:17 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 14f68539..505a04d8 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -154,7 +154,7 @@ class Statistic extends BaseDashboard ]), Slider::make('accuracy') ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none') - ->fillTrack([false]) + ->fillTrack(fn (Get $get) => $get('similar_past_matches') == 'none' ? [false] : [true]) ->default(0.5) ->decimalPlaces(1) ->tooltips()