hide distributor or manufacturer if empty on modal card
This commit is contained in:
parent
7c607d2749
commit
00a19835ae
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -143,7 +143,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section class="industriels">
|
<section class="industriels">
|
||||||
<!-- <h4 class="label">{{ $t("default.Contact") }}</h4> -->
|
<!-- <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>
|
<span class="label">{{ $t("materio.Manufacturer") }}</span>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="manu in material.manufacturer" v-bind:key="manu.id">
|
<li v-for="manu in material.manufacturer" v-bind:key="manu.id">
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section v-if="material.distributor">
|
<section v-if="material.distributor && material.distributor.length">
|
||||||
<span class="label">{{ $t("materio.Distributor") }}</span>
|
<span class="label">{{ $t("materio.Distributor") }}</span>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="distrib in material.distributor" v-bind:key="distrib.id">
|
<li v-for="distrib in material.distributor" v-bind:key="distrib.id">
|
||||||
|
|
Loading…
Reference in New Issue