+
@@ -46,7 +46,8 @@ export default {
type: Array,
default: () => []
},
- label: String
+ label: String,
+ disabled: Boolean
},
data() {
return {
@@ -182,6 +183,7 @@ export default {
})
},
clickWrapper() {
+ if (this.disabled) return
if (this.showMenu) {
return this.blur()
}
@@ -233,4 +235,14 @@ export default {
if (this.menu) this.menu.remove()
}
}
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/client/package.json b/client/package.json
index 9a8ae64d..a75440dc 100644
--- a/client/package.json
+++ b/client/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf-client",
- "version": "1.6.45",
+ "version": "1.6.46",
"description": "Audiobook manager and player",
"main": "index.js",
"scripts": {
diff --git a/client/pages/batch/index.vue b/client/pages/batch/index.vue
index 5e96e9c1..2082e1e4 100644
--- a/client/pages/batch/index.vue
+++ b/client/pages/batch/index.vue
@@ -1,5 +1,32 @@
+
+
@@ -82,7 +109,20 @@ export default {
isScrollable: false,
newSeriesItems: [],
newTagItems: [],
- newGenreItems: []
+ newGenreItems: [],
+ batchBook: {
+ author: null,
+ genres: [],
+ series: null,
+ narrator: null
+ },
+ selectedBatchUsage: {
+ author: false,
+ genres: false,
+ series: false,
+ narrator: false
+ },
+ batchTags: []
}
},
computed: {
@@ -243,6 +283,11 @@ export default {
this.$toast.error('Failed to batch update')
this.isProcessing = false
})
+ },
+ applyBatchUpdates() {
+ this.audiobookCopies = this.audiobookCopies.map((ab) => {
+ if (this.batchBook.series) ab.book.series = this.batchBook.series
+ })
}
},
mounted() {
diff --git a/package.json b/package.json
index ff100de4..943c0d31 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
- "version": "1.6.45",
+ "version": "1.6.46",
"description": "Self-hosted audiobook server for managing and playing audiobooks",
"main": "index.js",
"scripts": {