Client: add ID, score and created date to the friends list
This commit is contained in:
parent
535724234a
commit
8889736127
2 changed files with 9 additions and 0 deletions
|
@ -3,13 +3,19 @@
|
|||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Url</th>
|
||||
<th>Score</th>
|
||||
<th>Created Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr *ngFor="let friend of friends">
|
||||
<td>{{ friend.id }}</td>
|
||||
<td>{{ friend.url }}</td>
|
||||
<td>{{ friend.score }}</td>
|
||||
<td>{{ friend.createdDate }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
export interface Friend {
|
||||
id: string;
|
||||
url: string;
|
||||
score: number;
|
||||
createdDate: Date;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue