mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
cleaned up console messages
This commit is contained in:
@@ -1087,7 +1087,6 @@ export default {
|
|||||||
name: filtername,
|
name: filtername,
|
||||||
search: JSON.stringify(search),
|
search: JSON.stringify(search),
|
||||||
}
|
}
|
||||||
console.log("saved search", search)
|
|
||||||
|
|
||||||
this.genericAPI(this.Models.CUSTOM_FILTER, this.Actions.CREATE, params)
|
this.genericAPI(this.Models.CUSTOM_FILTER, this.Actions.CREATE, params)
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
|
|||||||
@@ -113,7 +113,6 @@ export default {
|
|||||||
apiClient
|
apiClient
|
||||||
.updateRecipeBook(this.book_copy.id, this.book_copy)
|
.updateRecipeBook(this.book_copy.id, this.book_copy)
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
console.log(result)
|
|
||||||
StandardToasts.makeStandardToast(StandardToasts.SUCCESS_UPDATE)
|
StandardToasts.makeStandardToast(StandardToasts.SUCCESS_UPDATE)
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|||||||
@@ -205,10 +205,8 @@ export default {
|
|||||||
cancel = true
|
cancel = true
|
||||||
}
|
}
|
||||||
if (!cancel) {
|
if (!cancel) {
|
||||||
console.log("saving", { ...this.mealplan_settings, ...this.entryEditing })
|
|
||||||
this.$bvModal.hide(`edit-modal`)
|
this.$bvModal.hide(`edit-modal`)
|
||||||
this.$emit("save-entry", { ...this.mealplan_settings, ...this.entryEditing })
|
this.$emit("save-entry", { ...this.mealplan_settings, ...this.entryEditing })
|
||||||
console.log("after emit", { ...this.mealplan_settings, ...this.entryEditing }.addshopping)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deleteEntry() {
|
deleteEntry() {
|
||||||
|
|||||||
@@ -107,19 +107,12 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// recipe: {
|
|
||||||
// handler() {
|
|
||||||
// this.loadRecipe()
|
|
||||||
// },
|
|
||||||
// deep: true,
|
|
||||||
// },
|
|
||||||
servings: function (newVal) {
|
servings: function (newVal) {
|
||||||
this.recipe_servings = parseInt(newVal)
|
this.recipe_servings = parseInt(newVal)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
loadRecipe: function () {
|
loadRecipe: function () {
|
||||||
console.log("loading recipe")
|
|
||||||
this.add_shopping = []
|
this.add_shopping = []
|
||||||
this.related_recipes = []
|
this.related_recipes = []
|
||||||
let apiClient = new ApiApiFactory()
|
let apiClient = new ApiApiFactory()
|
||||||
|
|||||||
Reference in New Issue
Block a user