Include entity `data` attributes in the entity info modal

This commit is contained in:
Fabio Manganiello 2022-04-30 16:39:37 +02:00
parent c7970842d7
commit b16af0a97f
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,13 @@
<div class="value" v-text="entity.description" />
</div>
<div v-for="value, attr in entity.data || {}" :key="attr">
<div class="table-row" v-if="value != null">
<div class="title" v-text="attr" />
<div class="value" v-text="'' + value" />
</div>
</div>
<div class="table-row" v-if="entity.created_at">
<div class="title">Created at</div>
<div class="value" v-text="formatDateTime(entity.created_at)" />