hotfix: profilepage remove friend function
This commit is contained in:
parent
18184f3a8b
commit
02bbaa6d9f
@ -111,7 +111,7 @@ export default class extends AbstractView {
|
||||
client.me.outgoingFriendRequests = client.me.outgoingFriendRequests.filter(profile => profile.id !== this.profile.id);
|
||||
} else if (response.status === 201) {
|
||||
this.profile.isFriend = false;
|
||||
client.me.friendList = client.me.friendList.client.me.incomingFriendRequests = filter(friend => friend.id !== this.profile.id);
|
||||
client.me.friendList = client.me.friendList.filter(friend => friend.id !== this.profile.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user