fix info-banner
This commit is contained in:
parent
1c8e47d810
commit
646c5ab65f
4 changed files with 39 additions and 49 deletions
|
|
@ -51,7 +51,6 @@ return function($page) {
|
|||
$nextEvents = new Pages();
|
||||
|
||||
$currentSeasonSessions = [];
|
||||
$previousSeasons = $page->children()->without($currentSeason);
|
||||
|
||||
foreach ($currentSeason->children() as $event) {
|
||||
$sessions = $event->isMapadoEvent() == 'true' ? $event->remoteSessions() : $event->sessions();
|
||||
|
|
@ -78,7 +77,6 @@ return function($page) {
|
|||
return [
|
||||
'previousEvents' => $previousEvents,
|
||||
'nextEvents' => $nextEvents,
|
||||
'currentSeasonSessions' => sortByMonth($currentSeasonSessions),
|
||||
'previousSeasons' => $previousSeasons,
|
||||
'currentSeasonSessions' => sortByMonth($currentSeasonSessions)
|
||||
];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue