Merge branch 'develop' into feature/custom_filters
# Conflicts: # cookbook/serializer.py # cookbook/views/api.py # vue/src/utils/openapi/api.ts
This commit is contained in:
@ -131,6 +131,7 @@ export default {
|
||||
let ingredient_list = this.steps
|
||||
.map((x) => x.ingredients)
|
||||
.flat()
|
||||
.filter((x) => (x.food !== null && x.food !== undefined))
|
||||
.map((x) => x.food.id)
|
||||
|
||||
let params = {
|
||||
@ -230,7 +231,7 @@ export default {
|
||||
...i,
|
||||
shop: checked,
|
||||
shopping_status: shopping_status, // possible values: true, false, null
|
||||
category: i.food.supermarket_category?.name,
|
||||
category: i.food?.supermarket_category?.name,
|
||||
shopping_list: shopping.map((x) => {
|
||||
return {
|
||||
mealplan: x?.recipe_mealplan?.name,
|
||||
|
Reference in New Issue
Block a user