mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 18:24:46 +02:00
Fix:Manually updating author image path & realtime update author image #1317
This commit is contained in:
parent
8acf962864
commit
45c9038954
2 changed files with 13 additions and 1 deletions
|
@ -109,7 +109,8 @@ export default {
|
|||
this.processing = true
|
||||
var result = await this.$axios.$patch(`/api/authors/${this.authorId}`, updatePayload).catch((error) => {
|
||||
console.error('Failed', error)
|
||||
this.$toast.error(this.$strings.ToastAuthorUpdateFailed)
|
||||
const errorMsg = error.response ? error.response.data : null
|
||||
this.$toast.error(errorMsg || this.$strings.ToastAuthorUpdateFailed)
|
||||
return null
|
||||
})
|
||||
if (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue