diff --git a/web-src/src/components/ModalDialogAlbumSpotify.vue b/web-src/src/components/ModalDialogAlbumSpotify.vue index 55560f89..55b95667 100644 --- a/web-src/src/components/ModalDialogAlbumSpotify.vue +++ b/web-src/src/components/ModalDialogAlbumSpotify.vue @@ -7,7 +7,7 @@
0) { - return this.album.images[0].url - } - return '' + artwork_url(album) { + return album.images?.[0]?.url || '' } }, diff --git a/web-src/src/pages/PageAlbumSpotify.vue b/web-src/src/pages/PageAlbumSpotify.vue index e34ca9c5..db071cef 100644 --- a/web-src/src/pages/PageAlbumSpotify.vue +++ b/web-src/src/pages/PageAlbumSpotify.vue @@ -25,7 +25,7 @@