diff options
-rw-r--r-- | client/src/app/admin/friends/friend-list/friend-list.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 4be3d364f..1f3789265 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 | |||
@@ -14,10 +14,10 @@ | |||
14 | </tbody> | 14 | </tbody> |
15 | </table> | 15 | </table> |
16 | 16 | ||
17 | <a class="add-user btn btn-danger pull-left" (click)="quitFriends()"> | 17 | <a *ngIf="friends?.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()"> |
18 | Quit friends | 18 | Quit friends |
19 | </a> | 19 | </a> |
20 | 20 | ||
21 | <a class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']"> | 21 | <a *ngIf="friends?.length === 0" class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']"> |
22 | Make friends | 22 | Make friends |
23 | </a> | 23 | </a> |