diff --git a/dashboard/routes/web.php b/dashboard/routes/web.php index 235abdc..6cf72af 100644 --- a/dashboard/routes/web.php +++ b/dashboard/routes/web.php @@ -59,7 +59,7 @@ Route::get('/region/{id}', function (int $id) { $regions = Api::regions()['regions']; $regions[] = ['name' => 'Alle Regionen', 'id' => -1]; - $region = $id >= 0 ? Api::regionBase($id) : [['name' => 'Alle Regionen']]; + $region = $id >= 0 ? Api::regionBase($id) : ['name' => 'Alle Regionen']; $regionPropertiesCapacities = Api::regionPropertiesCapacities($id); $regionCapacitiesRegion = Api::regionCapacities($id); $regionCapacitiesAll = Api::regionCapacities(-1);