fixed setp headers without ingredients loading in central list

This commit is contained in:
vabene1111
2021-11-08 17:15:37 +01:00
parent 086f8b4d62
commit df76791e1e

View File

@ -93,7 +93,7 @@
<table class="table table-sm">
<!-- eslint-disable vue/no-v-for-template-key-on-child -->
<template v-for="s in recipe.steps" >
<template v-if="s.show_as_header && s.name !== ''">
<template v-if="s.show_as_header && s.name !== '' && s.ingredients.length > 0">
<b v-bind:key="s.id">{{s.name}}</b>
</template>
<template v-for="i in s.ingredients">