From b11b1be432335e3cd91d2c0684eb215367dd19ae Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 27 Nov 2022 14:13:31 -0600 Subject: [PATCH] Cleanup playlist cover component --- client/components/covers/PlaylistCover.vue | 32 +++------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/client/components/covers/PlaylistCover.vue b/client/components/covers/PlaylistCover.vue index 44ae13c8..6abd7e39 100644 --- a/client/components/covers/PlaylistCover.vue +++ b/client/components/covers/PlaylistCover.vue @@ -1,22 +1,11 @@ @@ -33,21 +22,11 @@ export default { bookCoverAspectRatio: Number }, data() { - return { - imageFailed: false, - showCoverBg: false - } + return {} }, computed: { sizeMultiplier() { - if (this.bookCoverAspectRatio === 1) return this.width / (120 * 1.6 * 2) - return this.width / 240 - }, - hasOwnCover() { - return false - }, - fullCoverUrl() { - return null + return this.width / (120 * 1.6 * 2) }, libraryItemCovers() { if (!this.items.length) return [] @@ -63,10 +42,7 @@ export default { return covers } }, - methods: { - imageError() {}, - imageLoaded() {} - }, + methods: {}, mounted() {} } \ No newline at end of file