From 61ec00436094a4536d359b1976f0750d56109a6d Mon Sep 17 00:00:00 2001 From: jableader Date: Sat, 4 May 2024 12:00:05 +1000 Subject: [PATCH] Allow add ingredient --- src/components/EditRecipePage.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/EditRecipePage.vue b/src/components/EditRecipePage.vue index 805c369..d967035 100644 --- a/src/components/EditRecipePage.vue +++ b/src/components/EditRecipePage.vue @@ -27,6 +27,8 @@ + + @@ -168,6 +170,9 @@ export default { ingredients: [], image_urls: [] } + }, + addIngredient() { + this.recipe.ingredients.push({ line: '', product: null }); } }, }