cleaned up console messages

This commit is contained in:
Chris Scoggins
2022-02-01 16:35:46 -06:00
parent 9ffae0da7b
commit a0508684d9
4 changed files with 0 additions and 11 deletions

View File

@@ -113,7 +113,6 @@ export default {
apiClient
.updateRecipeBook(this.book_copy.id, this.book_copy)
.then((result) => {
console.log(result)
StandardToasts.makeStandardToast(StandardToasts.SUCCESS_UPDATE)
})
.catch((error) => {

View File

@@ -205,10 +205,8 @@ export default {
cancel = true
}
if (!cancel) {
console.log("saving", { ...this.mealplan_settings, ...this.entryEditing })
this.$bvModal.hide(`edit-modal`)
this.$emit("save-entry", { ...this.mealplan_settings, ...this.entryEditing })
console.log("after emit", { ...this.mealplan_settings, ...this.entryEditing }.addshopping)
}
},
deleteEntry() {

View File

@@ -107,19 +107,12 @@ export default {
},
},
watch: {
// recipe: {
// handler() {
// this.loadRecipe()
// },
// deep: true,
// },
servings: function (newVal) {
this.recipe_servings = parseInt(newVal)
},
},
methods: {
loadRecipe: function () {
console.log("loading recipe")
this.add_shopping = []
this.related_recipes = []
let apiClient = new ApiApiFactory()