Use serving count in shopping list

This commit is contained in:
tourn
2020-11-20 15:22:58 +01:00
parent 1e800889e4
commit 6fd9cf0d8c
2 changed files with 9 additions and 3 deletions

View File

@@ -577,7 +577,7 @@
id: Math.round(Math.random() * 1000) + 10000,
recipe: recipe.id,
recipe_name: recipe.name,
recipe_multiplier: (this.new_note_multiplier > 1) ? this.new_note_multiplier : 1,
recipe_multiplier: (this.new_note_multiplier > 1) ? this.new_note_multiplier : recipe.servings,
title: this.new_note_title,
note: this.new_note_text,
is_new: true