diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 281a35a8..590f512f 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -128,7 +128,7 @@ class Statistic extends BaseDashboard ]), Slider::make('accuracy') ->hiddenLabel() - ->disabled(fn (Get $get) => $get('similar_past_matches') != 'none') + ->disabled(fn (Get $get) => $get('similar_past_matches') == 'none') ->fillTrack() ->default(5) ->step(0.1) @@ -141,7 +141,7 @@ class Statistic extends BaseDashboard ->columnSpanFull(), Fieldset::make('Player') ->dense() - ->hidden(fn (Get $get) => $get('similar_past_matches') == 'none') + ->hidden(fn (Get $get) => $get('similar_past_matches') != 'none') ->columns([ 'default' => 2, 'sm' => 2,