mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-28 09:38:56 +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 (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) {
|
||||
return this.$toast.warning('No updates were made')
|
||||
}
|
||||
|
||||
console.log('Pushing updates', updates)
|
||||
this.isProcessing = true
|
||||
this.$axios
|
||||
|
Loading…
Reference in New Issue
Block a user