fixed ingredient list step header duplication

This commit is contained in:
vabene1111 2022-06-28 06:32:25 +02:00
parent b5207d91ba
commit 44a19e03e8

View File

@ -28,7 +28,7 @@
<table class="table table-sm mb-0">
<!-- eslint-disable vue/no-v-for-template-key-on-child -->
<template v-for="s in steps">
<tr v-bind:key="s.id" v-if="s.show_as_header && s.name !== '' && !add_shopping_mode">
<tr v-bind:key="s.id" v-if="s.show_as_header && s.name !== '' && !add_shopping_mode && steps.length > 1">
<td colspan="5">
<b>{{ s.name }}</b>
</td>