Checks for undefined metadata on records view mode in admin.

This commit is contained in:
Mateus Machado Luna 2019-07-09 15:55:48 -03:00
parent 718c333560
commit cee94adacb
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@
<span
v-for="(column, index) in tableMetadata"
:key="index"
v-if="column.metadatum == 'row_creation' || column.metadatum == 'row_author'">
v-if="(column.metadatum == 'row_creation' || column.metadatum == 'row_author') && item[column.slug] != undefined">
<h3 class="metadata-label">{{ column.name }}</h3>
<p
v-html="column.metadatum == 'row_creation' ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]"