mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-21 16:11:33 +01:00
Fix:Server crash when updating cover to a directory #2007
This commit is contained in:
1 parent
4585d2816b
commit
75276f5a44
3 files changed
+28
-5
No files matched your search
@@ -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
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user