allow disabling of ingredient overview

This commit is contained in:
vabene1111
2022-06-26 12:36:37 +02:00
parent 7945c1a431
commit 27c695a393
7 changed files with 49 additions and 8 deletions

View File

@ -82,7 +82,7 @@
<div class="row">
<div class="col-md-6 order-md-1 col-sm-12 order-sm-2 col-12 order-2"
v-if="recipe && ingredient_count > 0">
v-if="recipe && ingredient_count > 0 && (recipe.show_ingredient_overview || recipe.steps.length < 2)">
<ingredients-card
:recipe="recipe.id"
:steps="recipe.steps"