Fix bug in results page when no results are published.
This commit is contained in:
parent
344ee8e22f
commit
c2110b06b9
|
|
@ -27,6 +27,8 @@ class ResultsPage extends Controller
|
||||||
*/
|
*/
|
||||||
public function __invoke(Request $request)
|
public function __invoke(Request $request)
|
||||||
{
|
{
|
||||||
|
$publishedAdvancementAuditions = [];
|
||||||
|
$resultsAdvancementList = [];
|
||||||
$publishedAuditions = Audition::seatsPublished()
|
$publishedAuditions = Audition::seatsPublished()
|
||||||
->with('seats.ensemble')
|
->with('seats.ensemble')
|
||||||
->with('seats.entry.student')
|
->with('seats.entry.student')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue