aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/friends
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/admin/friends')
-rw-r--r--client/src/app/admin/friends/friend-add/friend-add.component.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts
index 22b0241b4..014252011 100644
--- a/client/src/app/admin/friends/friend-add/friend-add.component.ts
+++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts
@@ -83,13 +83,8 @@ export class FriendAddComponent implements OnInit {
83 83
84 this.friendService.makeFriends(notEmptyHosts).subscribe( 84 this.friendService.makeFriends(notEmptyHosts).subscribe(
85 status => { 85 status => {
86 // TODO: extractdatastatus 86 alert('Make friends request sent!');
87 // if (status === 409) { 87 this.router.navigate([ '/admin/friends/list' ]);
88 // alert('Already made friends!');
89 // } else {
90 alert('Make friends request sent!');
91 this.router.navigate([ '/admin/friends/list' ]);
92 // }
93 }, 88 },
94 error => alert(error.text) 89 error => alert(error.text)
95 ); 90 );