From 49610984207713b282a21635a9c1e658c49b97a1 Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 17:35: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 1cc95b42..4a649d8e 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(fn (Get $get) => $get('similar_past_matches') == 'none' ? false : true) + ->fillTrack(fn (Get $get) => ! $get('similar_past_matches') == 'none') ->default(0.5) ->decimalPlaces(1) ->tooltips()