diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index ff1f6d19..079f75f4 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -154,10 +154,10 @@ class Statistic extends BaseDashboard ]), Slider::make('accuracy') ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none') + ->fillTrack(fn (Get $get): booean => $get('similar_past_matches') == 'none' ? false : true) ->default(0.5) ->decimalPlaces(1) ->tooltips() - ->fillTrack() ->range(minValue: 0, maxValue: 1), // ->pips(), ])->columns(5)