DS-4107 Retrieve and model metadata as a map

This commit is contained in:
Chris Wilper
2018-12-22 23:03:45 -05:00
parent 34e78bd495
commit 2368df9513
35 changed files with 310 additions and 281 deletions

View File

@@ -7,10 +7,12 @@
</tr>
</thead>
<tbody>
<tr *ngFor="let metadatum of metadata" class="metadata-row">
<td>{{metadatum.key}}</td>
<td>{{metadatum.value}}</td>
<td>{{metadatum.language}}</td>
</tr>
<ng-container *ngFor="let entry of metadata | keyvalue">
<tr *ngFor="let value of entry.value" class="metadata-row">
<td>{{entry.key}}</td>
<td>{{value.value}}</td>
<td>{{value.language}}</td>
</tr>
</ng-container>
</tbody>
</table>
</table>