fixed rendering issue with single step recipes
This commit is contained in:
@ -32,9 +32,8 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- ingredients table -->
|
<!-- ingredients table -->
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4" v-if="step.ingredients.length > 0 && (recipe.steps.length > 1 || force_ingredients)">
|
||||||
<table class="table table-sm"
|
<table class="table table-sm" >
|
||||||
v-if="step.ingredients.length > 0 && (recipe.steps.length > 1 || force_ingredients)">
|
|
||||||
<ingredients-card :steps="[step]" :ingredient_factor="ingredient_factor"
|
<ingredients-card :steps="[step]" :ingredient_factor="ingredient_factor"
|
||||||
@checked-state-changed="$emit('checked-state-changed', $event)"/>
|
@checked-state-changed="$emit('checked-state-changed', $event)"/>
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user