mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 09:01:14 +00:00
Fixed meal plan recipe servings stock fulfillment checking (fixes #1391)
This commit is contained in:
@@ -93,7 +93,8 @@ var calendar = $("#calendar").fullCalendar({
|
||||
return false;
|
||||
}
|
||||
|
||||
var resolvedRecipe = FindObjectInArrayByPropertyValue(recipesResolved, "recipe_id", recipe.id);
|
||||
var internalShadowRecipe = FindObjectInArrayByPropertyValue(internalRecipes, "name", mealPlanEntry.day + "#" + mealPlanEntry.id);
|
||||
var resolvedRecipe = FindObjectInArrayByPropertyValue(recipesResolved, "recipe_id", internalShadowRecipe.id);
|
||||
|
||||
element.attr("data-recipe", event.recipe);
|
||||
|
||||
|
Reference in New Issue
Block a user