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

This commit is contained in:
advplyr committed 2024-05-27 16:04:36 -05:00
1 parent 1576164218
commit ba6a88a5bf
2 files changed
+14 -13

No files matched your search

@@ -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