Exclude from the list of display children on EntityModal those with no name or that are configuration values.

This commit is contained in:
Fabio Manganiello 2023-03-22 16:38:38 +01:00
parent e10bec88c0
commit 239dd17f23
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -133,7 +133,8 @@
</div> </div>
<div class="children-container-info" v-if="!childrenCollapsed"> <div class="children-container-info" v-if="!childrenCollapsed">
<div class="table-row" v-for="child in children" :key="child.id"> <div class="table-row" :class="{hidden: !child.name?.length || child.is_configuration}"
v-for="child in children" :key="child.id">
<div class="value"> <div class="value">
<a class="url" @click="$emit('entity-update', child.id)" <a class="url" @click="$emit('entity-update', child.id)"
v-text="child.name" v-text="child.name"