Fixes repository metadata not showing in some sections in item admin page.
This commit is contained in:
parent
ca102b83a2
commit
d5174a1d2f
|
@ -104,7 +104,9 @@
|
|||
</div>
|
||||
<template v-if="metadatumList && Array.isArray(metadatumList)">
|
||||
<div
|
||||
v-for="(itemMetadatum, index) of metadatumList.filter(anItemMetadatum => anItemMetadatum.metadatum.metadata_section_id == metadataSection.id)"
|
||||
v-for="(itemMetadatum, index) of metadatumList.filter(
|
||||
anItemMetadatum => Array.isArray(anItemMetadatum.metadatum.metadata_section_id) ? anItemMetadatum.metadatum.metadata_section_id.indexOf(metadataSection.id) : anItemMetadatum.metadatum.metadata_section_id == metadataSection.id
|
||||
)"
|
||||
:key="index"
|
||||
class="field">
|
||||
<label class="label">{{ itemMetadatum.metadatum.name }}</label>
|
||||
|
|
Loading…
Reference in New Issue