mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-06 03:20:55 +00:00
fixed user error
This commit is contained in:
parent
c028b043d1
commit
e764aba188
1 changed files with 17 additions and 15 deletions
|
|
@ -82,6 +82,7 @@ const actions = {
|
|||
|
||||
let servers = user.servers || [];
|
||||
|
||||
if (settings.server_position) {
|
||||
// sort server by users order
|
||||
let tempServers = [...servers];
|
||||
let sortedServers = [];
|
||||
|
|
@ -99,6 +100,7 @@ const actions = {
|
|||
servers = [...sortedServers.reverse(), ...tempServers];
|
||||
sortedServers = null;
|
||||
tempServers = null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue