mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
cleaned up console messages
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user