hide distributor or manufacturer if empty on modal card

This commit is contained in:
Bachir Soussi Chiadmi 2022-02-25 17:14:18 +01:00
parent 7c607d2749
commit 00a19835ae
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -143,7 +143,7 @@
</section>
<section class="industriels">
<!-- <h4 class="label">{{ $t("default.Contact") }}</h4> -->
<section v-if="material.manufacturer">
<section v-if="material.manufacturer && material.manufacturer.length">
<span class="label">{{ $t("materio.Manufacturer") }}</span>
<ul>
<li v-for="manu in material.manufacturer" v-bind:key="manu.id">
@ -155,7 +155,7 @@
</li>
</ul>
</section>
<section v-if="material.distributor">
<section v-if="material.distributor && material.distributor.length">
<span class="label">{{ $t("materio.Distributor") }}</span>
<ul>
<li v-for="distrib in material.distributor" v-bind:key="distrib.id">