From 2077be1c1206ba8ae84aaacc8e48e07d32e9abd1 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 17 Jun 2026 16:14:11 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 5fe95c4e..016749eb 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -106,7 +106,7 @@ class Statistic extends BaseDashboard } }) ->prefixIcon('phosphor-users-three') - ->disabled(fn(Get $get) => $get('similar_past_matches') != 'none') + ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') ->options(function (Get $get) { if ($get('match_id')) { $res = StatisticFixtures::where('id', $get('match_id'))->get(); @@ -130,7 +130,7 @@ class Statistic extends BaseDashboard ->placeholder('Team Position') ->prefix('Team Position') ->prefixIcon('phosphor-map-pin') - ->disabled(fn(Get $get) => $get('similar_past_matches') != 'none') + ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') ->default('all') ->selectablePlaceholder(false) ->options([