This commit is contained in:
salam committed 2026-06-17 16:14:11 +02:00
1 parent 75cf5db961
commit 2077be1c12
1 file changed
+2 -2
+2 -2
View File
@@ -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([