wip
This commit is contained in:
1 parent
89d2960b54
commit
293c4022b1
2 files changed
+1
-2
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -15,8 +15,6 @@ class MedianAverageWidget extends StatsOverviewWidget
|
||||
{
|
||||
$data = LoadEventsAspGoal::load($this->filters);
|
||||
|
||||
dd($data);
|
||||
|
||||
if (! isset($data['datasets'][0])) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user