From c7988e77b826d1f4e2fd68b0c1474aeaeaf06a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2=20Diani?= Date: Sat, 18 Jan 2025 18:41:21 +0100 Subject: [PATCH] fix missing name --- dashboard/routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);