mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-29 15:24:50 +02:00
Update:Close author modal on update
This commit is contained in:
parent
2e070227ab
commit
7a7d53f92e
1 changed files with 4 additions and 2 deletions
|
@ -112,8 +112,10 @@ export default {
|
|||
return null
|
||||
})
|
||||
if (result) {
|
||||
if (result.updated) this.$toast.success('Author updated')
|
||||
else this.$toast.info('No updates were needed')
|
||||
if (result.updated) {
|
||||
this.$toast.success('Author updated')
|
||||
this.show = false
|
||||
} else this.$toast.info('No updates were needed')
|
||||
}
|
||||
this.processing = false
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue