Avoid modifying GLOBAL group when sorting groups (#704)
This commit is contained in:
parent
7ab43cb539
commit
82dcba042a
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ function retrieveGroupNamesFrom(proxies: Record<string, ProxyItem>) {
|
||||||
if (p.all && Array.isArray(p.all)) {
|
if (p.all && Array.isArray(p.all)) {
|
||||||
groupNames.push(prop);
|
groupNames.push(prop);
|
||||||
if (prop === 'GLOBAL') {
|
if (prop === 'GLOBAL') {
|
||||||
globalAll = p.all;
|
globalAll = Array.from(p.all);
|
||||||
}
|
}
|
||||||
} else if (NonProxyTypes.indexOf(p.type) < 0) {
|
} else if (NonProxyTypes.indexOf(p.type) < 0) {
|
||||||
proxyNames.push(prop);
|
proxyNames.push(prop);
|
||||||
|
|
Loading…
Reference in a new issue