From 9ae71615bc381143b4361eca0359dfbbe3a546c9 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 31 Mar 2022 17:10:02 -0500 Subject: [PATCH] Add:Match tab show current value next to new match value #431 --- client/components/modals/item/tabs/Match.vue | 51 ++++++++++++++++---- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index 3dedba03..1abce8ea 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -39,19 +39,31 @@
- +
+ +

Current: {{ mediaMetadata.title || '' }}

+
- +
+ +

Current: {{ mediaMetadata.subtitle || '' }}

+
- +
+ +

Current: {{ mediaMetadata.authorName || '' }}

+
- +
+ +

Current: {{ mediaMetadata.narratorName || '' }}

+
@@ -59,16 +71,25 @@
- +
+ +

Current: {{ mediaMetadata.publisher || '' }}

+
- +
+ +

Current: {{ mediaMetadata.publishedYear || '' }}

+
- +
+ +

Current: {{ mediaMetadata.seriesName || '' }}

+
@@ -76,11 +97,17 @@
- +
+ +

Current: {{ mediaMetadata.isbn || '' }}

+
- +
+ +

Current: {{ mediaMetadata.asin || '' }}

+
Update @@ -152,6 +179,12 @@ export default { if (this.provider == 'audible') return 'Search Title or ASIN' else if (this.provider == 'itunes') return 'Search Term' return 'Search Title' + }, + media() { + return this.libraryItem ? this.libraryItem.media || {} : {} + }, + mediaMetadata() { + return this.media.metadata || {} } }, methods: {