Use the item's HALLink to get the access status

This commit is contained in:
nibou230
2022-05-05 10:21:55 -04:00
parent 8e03b28151
commit e77821eef0
9 changed files with 88 additions and 52 deletions

View File

@@ -18,7 +18,7 @@
</span>
<div class="card-body">
<ds-type-badge *ngIf="showLabel" [object]="dso"></ds-type-badge>
<ds-access-status-badge [uuid]="dso.uuid"></ds-access-status-badge>
<ds-access-status-badge [item]="dso"></ds-access-status-badge>
<ds-truncatable-part [id]="dso.id" [minLines]="3" type="h4">
<h4 class="card-title" [innerHTML]="firstMetadataValue('dc.title')"></h4>
</ds-truncatable-part>