reload book recipes when adding filter

This commit is contained in:
smilerz
2022-02-08 12:30:11 -06:00
parent b3a830c319
commit 0e258a49fb
4 changed files with 197 additions and 208 deletions

View File

@ -100,6 +100,7 @@ export default {
this.editing = false
this.saveData()
this.$emit("editing", false)
this.$emit("reload")
}
},
updateEmoji: function (item, value) {
@ -109,6 +110,7 @@ export default {
},
saveData: function () {
let apiClient = new ApiApiFactory()
console.log(this.book_copy)
apiClient
.updateRecipeBook(this.book_copy.id, this.book_copy)