mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
Squashed commit of shoppinglist_v2
This commit is contained in:
@@ -200,6 +200,9 @@ export default {
|
||||
ingredient_factor: function () {
|
||||
return this.servings / this.recipe.servings
|
||||
},
|
||||
title() {
|
||||
return this.recipe?.steps?.map((x) => x?.ingredients).flat()
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -212,9 +215,11 @@ export default {
|
||||
share_uid: window.SHARE_UID,
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.loadRecipe(window.RECIPE_ID)
|
||||
this.$i18n.locale = window.CUSTOM_LOCALE
|
||||
console.log(this.recipe)
|
||||
},
|
||||
methods: {
|
||||
loadRecipe: function (recipe_id) {
|
||||
|
||||
Reference in New Issue
Block a user