This commit is contained in:
salam committed 2026-10-14 17:37:07 +02:00
1 parent e09e42ab41
commit fc1e1b2832
6 files changed
+200 -115

No files matched your search

+1 -3
View File
@@ -576,11 +576,10 @@ class Statistic extends BaseDashboard
->options(function (Get $get) {
$team_id = $get('team_id');
$team_position = $get('team_position');
$sofascore_category_id = $get('sofascore_category_id');
$season = $get('season');
$seasonmode = $get('seasonmode');
return LoadPlayerSelection::load($team_id, $team_position, $sofascore_category_id, $season, $seasonmode);
return LoadPlayerSelection::load($team_id, $team_position, $season, $seasonmode);
});
}
@@ -635,7 +634,6 @@ class Statistic extends BaseDashboard
->hidden(fn (Get $get) => $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none')
->prefixIcon('phosphor-calendar-star')
->options(function (Get $get) {
// dd($get('seasonmode'));
if ($get('seasonmode') == 'halfyear') {
return ['26/27' => '26/27', '25/26' => '25/26', '24/25' => '24/25'];
} else {