fixed list element tests

This commit is contained in:
Lotte Hofstede
2018-02-13 15:06:07 +01:00
parent 52781d02c4
commit 2895bb61e8
21 changed files with 545 additions and 354 deletions

View File

@@ -3,7 +3,7 @@
</a>
<div>
<span class="text-muted">
<span *ngIf="object.filterMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']);"
<span *ngIf="object.filterMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']).length > 0"
class="item-list-authors">
<span *ngFor="let authorMd of object.filterMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']); let last=last;">{{authorMd.value}}
<span *ngIf="!last">; </span>