fix: fix broken hideUnavailableProxies setting
This commit is contained in:
parent
f1d0714f19
commit
40479ada88
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ export function fetchProxies(apiConfig: APIConfig) {
|
|||
const name = proxyNames[i];
|
||||
const { history } = proxies[name] || { history: [] };
|
||||
const h = history[history.length - 1];
|
||||
if (h && h.delay) {
|
||||
if (h && typeof h.delay === 'number') {
|
||||
delayNext[name] = { number: h.delay };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue