From 293c4022b1be70b7a632cd5c1783cc98577a99f4 Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 21 May 2026 18:40:32 +0200 Subject: [PATCH] wip --- app/Actions/Statistics/LoadEventsAspGoal.php | 1 + app/Filament/Widgets/MedianAverageWidget.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Actions/Statistics/LoadEventsAspGoal.php b/app/Actions/Statistics/LoadEventsAspGoal.php index d0b581be..4a3acd93 100644 --- a/app/Actions/Statistics/LoadEventsAspGoal.php +++ b/app/Actions/Statistics/LoadEventsAspGoal.php @@ -90,6 +90,7 @@ class LoadEventsAspGoal break; case 'none': + dd('none'); $res = StatistikoEvent::when($league_id, function ($query) use ($league_id) { return $query->where('league_id', $league_id); })->when($team_id, function ($query) use ($team_id, $team_position) { diff --git a/app/Filament/Widgets/MedianAverageWidget.php b/app/Filament/Widgets/MedianAverageWidget.php index 77266181..a5b9ef7f 100644 --- a/app/Filament/Widgets/MedianAverageWidget.php +++ b/app/Filament/Widgets/MedianAverageWidget.php @@ -15,8 +15,6 @@ class MedianAverageWidget extends StatsOverviewWidget { $data = LoadEventsAspGoal::load($this->filters); - dd($data); - if (! isset($data['datasets'][0])) { return []; }