Skip to content

Commit

Permalink
Handle missing ingredients
Browse files Browse the repository at this point in the history
  • Loading branch information
LeBenLeBen committed Apr 1, 2024
1 parent 1de91f0 commit 91e46c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/views/Recipe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</div>
</div>

<div v-if="recipe.ingredients.length" class="row-span-2">
<div v-if="recipe.ingredients?.length" class="row-span-2">
<h2 class="mb-3 text-alt-600 font-bold text-sm uppercase">
{{ $t('recipe.ingredients') }}
</h2>
Expand Down

0 comments on commit 91e46c4

Please sign in to comment.