Fix: group error display

This commit is contained in:
Dreamacro 2020-05-30 16:52:11 +08:00
parent f53a5c5478
commit e8bf3e4df6

View File

@ -37,7 +37,7 @@ export function Group (props: GroupProps) {
const set = new Set<string>() const set = new Set<string>()
for (const proxy of config.all) { for (const proxy of config.all) {
const history = proxyMap.get(proxy)?.history const history = proxyMap.get(proxy)?.history
if (history?.length && history.slice(-1)[0].delay !== 0) { if (history?.length && history.slice(-1)[0].delay === 0) {
set.add(proxy) set.add(proxy)
} }
} }