Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

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

Chocobozzz888973612713
diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.html b/client/src/app/admin/friends/friend-list/friend-list.component.html
index 1f3789265a..7f1709d94c 100644
--- a/client/src/app/admin/friends/friend-list/friend-list.component.html
+++ b/client/src/app/admin/friends/friend-list/friend-list.component.html
@@ -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>
diff --git a/client/src/app/admin/friends/shared/friend.model.ts b/client/src/app/admin/friends/shared/friend.model.ts
index 847eb9c9c1..7cb28f4406 100644
--- a/client/src/app/admin/friends/shared/friend.model.ts
+++ b/client/src/app/admin/friends/shared/friend.model.ts
@@ -1,3 +1,6 @@
export interface Friend {
+ id: string;
url: string;
+ score: number;
+ createdDate: Date;
}