diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index c16e4a1c..3d78c76c 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -26,15 +26,16 @@
-
+
arrow_back

Update Book Details

+
- +

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

- +

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

- +

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

- +

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

- +
- +

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

- +

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

@@ -90,46 +91,46 @@
- +

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

- +
- +

Currently: {{ mediaMetadata.genresList || '' }}

- +

Currently: {{ mediaMetadata.tagsList || '' }}

- +

Currently: {{ mediaMetadata.language || '' }}

- +

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

- +

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

@@ -137,28 +138,28 @@
- +

Currently: {{ mediaMetadata.itunesId || '' }}

- +

Currently: {{ mediaMetadata.feedUrl || '' }}

- +

Currently: {{ mediaMetadata.itunesPageUrl || '' }}

- +

Currently: {{ mediaMetadata.releaseDate || '' }}

@@ -214,7 +215,8 @@ export default { itunesId: true, feedUrl: true, releaseDate: true - } + }, + selectAll: true } }, watch: { @@ -276,6 +278,14 @@ export default { } }, methods: { + selectAllToggled(val) { + for (const key in this.selectedMatchUsage) { + this.selectedMatchUsage[key] = val + } + }, + checkboxToggled() { + this.selectAll = Object.values(this.selectedMatchUsage).findIndex((v) => v == false) < 0 + }, persistProvider() { try { localStorage.setItem('book-provider', this.provider)