hide distributor or manufacturer if empty on modal card
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user