diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 4f13ff3..cfaee01 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -145,7 +145,6 @@ class ApiController extends OCSController { $albums[$key]['tracks'][] = $track->jsonSerialize(); } - // Return as array, not associative map return new JSONResponse(['albums' => array_values($albums)]); } } diff --git a/src/App.vue b/src/App.vue index a9d465a..a2ee6e7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -49,7 +49,12 @@ -
+
+
+ +
+ +