From 8239dc360451ae339646faa26928ede074808001 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 7 Sep 2020 12:27:29 +0200 Subject: [PATCH] fixed unit creation typo --- cookbook/templates/forms/edit_internal_recipe.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/templates/forms/edit_internal_recipe.html b/cookbook/templates/forms/edit_internal_recipe.html index 1285fcf90..2acb7f263 100644 --- a/cookbook/templates/forms/edit_internal_recipe.html +++ b/cookbook/templates/forms/edit_internal_recipe.html @@ -594,7 +594,7 @@ let new_unit = this.recipe.steps[step].ingredients[id] new_unit.unit = {'name': tag} - this.foods.push(new_unit.unit) + this.units.push(new_unit.unit) this.recipe.steps[step].ingredients[id] = new_unit }, searchKeywords: function (query) {