Mealie example template fix (#34091)

This commit is contained in:
Andrew Jackson 2024-08-02 13:47:09 +01:00 committed by GitHub
parent 943046de5a
commit e8e1ec23bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,7 +145,7 @@ template:
unique_id: mealie_dinner_today
state: >
{% for meal in result.mealplan if meal.entry_type == "dinner" -%}
{{ meal.recipe['name'] if meal.recipe is not none else meal.title }}
{{ meal.recipe['name'] if meal.recipe is not none else meal.title -}}
{{ ", " if not loop.last }}
{%- endfor %}
```