Fix:Edit author modal resetting form inputs on image change #2965

This commit is contained in:
advplyr 2024-05-27 16:04:36 -05:00
parent 1576164218
commit ba6a88a5bf
2 changed files with 14 additions and 13 deletions

View file

@ -79,9 +79,6 @@ export default {
}
},
authorUpdated(author) {
if (this.selectedAuthor && this.selectedAuthor.id === author.id) {
this.$store.commit('globals/setSelectedAuthor', author)
}
this.authors = this.authors.map((au) => {
if (au.id === author.id) {
return author