1
0
Fork 0

Client: add ID, score and created date to the friends list

This commit is contained in:
Chocobozzz 2016-08-26 18:59:17 +02:00
parent 535724234a
commit 8889736127
2 changed files with 9 additions and 0 deletions

View file

@ -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>

View file

@ -1,3 +1,6 @@
export interface Friend {
id: string;
url: string;
score: number;
createdDate: Date;
}