fixed unit creation typo

This commit is contained in:
vabene1111
2020-09-07 12:27:29 +02:00
parent 4a4d4b4486
commit 8239dc3604

View File

@@ -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) {