mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
corrected servings factor
This commit is contained in:
@@ -65,11 +65,11 @@ export default {
|
||||
],
|
||||
props: {
|
||||
recipe: Object,
|
||||
servings: Number,
|
||||
ingredient_factor: Number,
|
||||
},
|
||||
methods: {
|
||||
calculateAmount: function (x) {
|
||||
return calculateAmount(x, this.servings)
|
||||
return calculateAmount(x, this.ingredient_factor)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user