aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/friends
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-21 11:36:43 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-21 11:36:43 +0200
commit96b0c2bf708a20c7e0fe1995223b0fdefbdd9f41 (patch)
tree8ff39fb46db920e62dc5dc6d14c1c76bc83e39a2 /client/src/app/admin/friends
parentbeacf6993c93f93bf5ea86665827154eb291d1fd (diff)
downloadPeerTube-96b0c2bf708a20c7e0fe1995223b0fdefbdd9f41.tar.gz
PeerTube-96b0c2bf708a20c7e0fe1995223b0fdefbdd9f41.tar.zst
PeerTube-96b0c2bf708a20c7e0fe1995223b0fdefbdd9f41.zip
Client: remove makeFriend from friend-list (in friend-add now)
Diffstat (limited to 'client/src/app/admin/friends')
-rw-r--r--client/src/app/admin/friends/friend-list/friend-list.component.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts
index aa92c1b1e..379d44c97 100644
--- a/client/src/app/admin/friends/friend-list/friend-list.component.ts
+++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts
@@ -22,19 +22,6 @@ export class FriendListComponent implements OnInit {
22 ); 22 );
23 } 23 }
24 24
25 makeFriends() {
26 this.friendService.makeFriends().subscribe(
27 status => {
28 if (status === 409) {
29 alert('Already made friends!');
30 } else {
31 alert('Made friends!');
32 }
33 },
34 error => alert(error)
35 );
36 }
37
38 quitFriends() { 25 quitFriends() {
39 if (!confirm('Are you sure?')) return; 26 if (!confirm('Are you sure?')) return;
40 27