mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Fix:Batch edit genres not updating #246
This commit is contained in:
parent
8721dbda98
commit
c89319ffc5
@ -196,7 +196,8 @@ export default {
|
|||||||
}
|
}
|
||||||
if (key === 'genres') {
|
if (key === 'genres') {
|
||||||
if (this.compareStringArrays(newBook[key], origBook[key])) {
|
if (this.compareStringArrays(newBook[key], origBook[key])) {
|
||||||
diffObj[key] = newBook[key]
|
if (!diffObj.book) diffObj.book = {}
|
||||||
|
diffObj.book[key] = newBook[key]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -223,6 +224,7 @@ export default {
|
|||||||
if (!updates.length) {
|
if (!updates.length) {
|
||||||
return this.$toast.warning('No updates were made')
|
return this.$toast.warning('No updates were made')
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Pushing updates', updates)
|
console.log('Pushing updates', updates)
|
||||||
this.isProcessing = true
|
this.isProcessing = true
|
||||||
this.$axios
|
this.$axios
|
||||||
|
Loading…
Reference in New Issue
Block a user