mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-14 20:11:10 +00:00
Fix: server members dissapear when someone leaves.
This commit is contained in:
parent
c222fced0e
commit
76c9446977
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ const mutations = {
|
|||
state.serverMembers.push(serverMember);
|
||||
},
|
||||
REMOVE_SERVER_MEMBER(state, {uniqueID, server_id}) {
|
||||
state.serverMembers = state.serverMembers.filter(m => m.uniqueID !== uniqueID && m.server_id !== server_id);
|
||||
state.serverMembers = state.serverMembers.filter(m => m.uniqueID !== uniqueID || m.server_id !== server_id);
|
||||
},
|
||||
SET_SELECTED_SERVER_ID(state, serverID){
|
||||
state.selectedServerID = serverID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue