]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/admin/friends/friend-list/friend-list.component.html
Client: avoid "quit friends" to appear during the pending request
[github/Chocobozzz/PeerTube.git] / client / src / app / admin / friends / friend-list / friend-list.component.html
index d786a78469ee612bc3d13f9094f50b5ba44373fe..20b4d12db5a95a081ab71f48007b04c50253680a 100644 (file)
@@ -20,7 +20,7 @@
   </tbody>
 </table>
 
-<a *ngIf="friends?.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()">
+<a *ngIf="friends && friends.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()">
   Quit friends
 </a>