mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 00:38:03 -06:00
Client: remove makeFriend from friend-list (in friend-add now)
This commit is contained in:
parent
beacf6993c
commit
96b0c2bf70
@ -22,19 +22,6 @@ export class FriendListComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
makeFriends() {
|
||||
this.friendService.makeFriends().subscribe(
|
||||
status => {
|
||||
if (status === 409) {
|
||||
alert('Already made friends!');
|
||||
} else {
|
||||
alert('Made friends!');
|
||||
}
|
||||
},
|
||||
error => alert(error)
|
||||
);
|
||||
}
|
||||
|
||||
quitFriends() {
|
||||
if (!confirm('Are you sure?')) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user