From fd9942b5259794cf8d09fd759202771bcf21072f Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 3 Dec 2019 21:50:20 +0100 Subject: [PATCH] Albums: Code clean-up & small improvements #15 Signed-off-by: Michael Mayer --- frontend/src/common/api.js | 2 +- frontend/src/pages/albums.vue | 33 +++++++++++++---------------- frontend/src/resources/options.json | 16 +++++++------- frontend/src/resources/themes.json | 12 +++++------ 4 files changed, 30 insertions(+), 33 deletions(-) diff --git a/frontend/src/common/api.js b/frontend/src/common/api.js index 8a40dbbfb..c3c3427c0 100644 --- a/frontend/src/common/api.js +++ b/frontend/src/common/api.js @@ -28,7 +28,7 @@ Api.interceptors.response.use(function (response) { if(typeof response.data == "string") { Notify.error("Request failed - invalid response"); - console.warn("WARNING: Server returned HTML instead of JSON - API not implemented?") + console.warn("WARNING: Server returned HTML instead of JSON - API not implemented?"); } return response; diff --git a/frontend/src/pages/albums.vue b/frontend/src/pages/albums.vue index 8ce1dbdb9..2462bcd9b 100644 --- a/frontend/src/pages/albums.vue +++ b/frontend/src/pages/albums.vue @@ -32,7 +32,9 @@

No albums matched your search

-
Try again using a different term or create a new album
+
Try again using a different term or + create a new album +
@@ -59,7 +61,8 @@ justify-center ma-0 > - + @@ -69,11 +72,14 @@ lazy @save="onSave(album)" @cancel="onCancel" - @open="onDialogOpen" - @close="onDialogClose" class="p-inline-edit" > - {{ album.AlbumName | capitalize }} + + {{ album.AlbumName }} + + + edit + @@ -107,6 +113,7 @@