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>
|
</tbody>
|
||||||
</table>
|
</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
|
Quit friends
|
||||||
</a>
|
</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
|
Make friends
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue