mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02:00
Fix:Server crash when updating cover to a directory #2007
This commit is contained in:
parent
4585d2816b
commit
75276f5a44
3 changed files with 28 additions and 5 deletions
|
@ -283,9 +283,8 @@ export default {
|
|||
}
|
||||
if (success) {
|
||||
this.$toast.success('Update Successful')
|
||||
// this.$emit('close')
|
||||
} else {
|
||||
this.imageUrl = this.media.coverPath || ''
|
||||
} else if (this.media.coverPath) {
|
||||
this.imageUrl = this.media.coverPath
|
||||
}
|
||||
this.isProcessing = false
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue