From 3da74505d6f17d6879d9409bf1879ca9111a91fd Mon Sep 17 00:00:00 2001 From: smilerz Date: Mon, 29 Mar 2021 12:51:14 -0500 Subject: [PATCH] fixed ingredient display on preview --- cookbook/templates/url_import.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index c4775fa0..e2617c59 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -958,7 +958,8 @@ unit: {id: Math.random() * 1000, text: response.body.unit}, amount: String(response.body.amount), ingredient: {id: Math.random() * 1000, text: response.body.food}, - note: response.body.note + note: response.body.note, + original: v } this.recipe_json.recipeIngredient.push(new_ingredient) }).catch((err) => {