Update:Close author modal on update

This commit is contained in:
advplyr 2022-05-03 19:33:00 -05:00
parent 2e070227ab
commit 7a7d53f92e

View File

@ -112,8 +112,10 @@ export default {
return null return null
}) })
if (result) { if (result) {
if (result.updated) this.$toast.success('Author updated') if (result.updated) {
else this.$toast.info('No updates were needed') this.$toast.success('Author updated')
this.show = false
} else this.$toast.info('No updates were needed')
} }
this.processing = false this.processing = false
}, },