Hide middle container if empty string

This commit is contained in:
Iván Ovejero 2021-09-09 11:02:03 +02:00
parent 0e89166013
commit 4b3fc14e15

View file

@ -5,7 +5,8 @@
</div> </div>
<div v-for="property in getProperties" :key="property.name" class="fixed-collection-parameter-property"> <div v-for="property in getProperties" :key="property.name" class="fixed-collection-parameter-property">
<div class="parameter-name" :title="property.displayName">{{property.displayName}}:</div> <div v-if="property.displayName === ''"></div>
<div v-else class="parameter-name" :title="property.displayName">{{property.displayName}}:</div>
<div v-if="multipleValues === true"> <div v-if="multipleValues === true">
<div v-for="(value, index) in values[property.name]" :key="property.name + index" class="parameter-item"> <div v-for="(value, index) in values[property.name]" :key="property.name + index" class="parameter-item">