mirror of https://github.com/Chocobozzz/PeerTube
Client: display make/quit friends according to the situation
parent
0f6da32b14
commit
6be622478a
|
@ -14,10 +14,10 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<a class="add-user btn btn-danger pull-left" (click)="quitFriends()">
|
||||
<a *ngIf="friends?.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()">
|
||||
Quit friends
|
||||
</a>
|
||||
|
||||
<a class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']">
|
||||
<a *ngIf="friends?.length === 0" class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']">
|
||||
Make friends
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue