From dfc7877f6919ce7767950598d610bc7e534a02ea Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 9 May 2023 19:26:37 -0400 Subject: [PATCH] Fix:Persist book cover provider separate from match provider #1764 --- client/components/modals/item/tabs/Cover.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/components/modals/item/tabs/Cover.vue b/client/components/modals/item/tabs/Cover.vue index ab63c7e8..9c9d61db 100644 --- a/client/components/modals/item/tabs/Cover.vue +++ b/client/components/modals/item/tabs/Cover.vue @@ -17,10 +17,10 @@
- upload + + + upload +
@@ -223,7 +223,7 @@ export default { this.searchTitle = this.mediaMetadata.title || '' this.searchAuthor = this.mediaMetadata.authorName || '' if (this.isPodcast) this.provider = 'itunes' - else this.provider = localStorage.getItem('book-provider') || 'google' + else this.provider = localStorage.getItem('book-cover-provider') || localStorage.getItem('book-provider') || 'google' }, removeCover() { if (!this.media.coverPath) { @@ -294,7 +294,7 @@ export default { }, persistProvider() { try { - localStorage.setItem('book-provider', this.provider) + localStorage.setItem('book-cover-provider', this.provider) } catch (error) { console.error('PersistProvider', error) }