fix responsive display of shopping list

This commit is contained in:
smilerz
2021-12-21 18:38:16 -06:00
parent 889fa7b8ea
commit e257a8d29b
4 changed files with 90 additions and 64 deletions

View File

@ -106,7 +106,7 @@ export default {
...this.steps
.map((x) => x.ingredients)
.flat()
.filter((x) => !x.food.on_hand && !x.food.ignore_shopping)
.filter((x) => !x?.food?.on_hand && !x?.food?.ignore_shopping)
.map((x) => x.id),
]
this.recipe_servings = result.data?.servings