From a0508684d983647f413b1e733b1d2aeff2cdf355 Mon Sep 17 00:00:00 2001 From: Chris Scoggins Date: Tue, 1 Feb 2022 16:35:46 -0600 Subject: [PATCH] cleaned up console messages --- vue/src/apps/RecipeSearchView/RecipeSearchView.vue | 1 - vue/src/components/CookbookEditCard.vue | 1 - vue/src/components/MealPlanEditModal.vue | 2 -- vue/src/components/Modals/ShoppingModal.vue | 7 ------- 4 files changed, 11 deletions(-) diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index cf5173fd7..aae189d14 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -1087,7 +1087,6 @@ export default { name: filtername, search: JSON.stringify(search), } - console.log("saved search", search) this.genericAPI(this.Models.CUSTOM_FILTER, this.Actions.CREATE, params) .then((result) => { diff --git a/vue/src/components/CookbookEditCard.vue b/vue/src/components/CookbookEditCard.vue index 616dc8ba3..0dc21fd62 100644 --- a/vue/src/components/CookbookEditCard.vue +++ b/vue/src/components/CookbookEditCard.vue @@ -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) => { diff --git a/vue/src/components/MealPlanEditModal.vue b/vue/src/components/MealPlanEditModal.vue index cb1d72434..e7c62841d 100644 --- a/vue/src/components/MealPlanEditModal.vue +++ b/vue/src/components/MealPlanEditModal.vue @@ -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() { diff --git a/vue/src/components/Modals/ShoppingModal.vue b/vue/src/components/Modals/ShoppingModal.vue index 9aa463597..4199db39d 100644 --- a/vue/src/components/Modals/ShoppingModal.vue +++ b/vue/src/components/Modals/ShoppingModal.vue @@ -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()