diff options
| author | hitsmaxft <[email protected]> | 2020-02-09 22:28:27 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-02-10 17:28:04 +0800 |
| commit | bd82b8c5e3bad3efeecd9e2599b07128d290bea6 (patch) | |
| tree | 82499a0ebdecd0f58325205ce783a0610f7f76b3 /src/components/ProxyGroup.js | |
| parent | c206c3369754bfe934f157f0f078a7b6d25e925f (diff) | |
dropdown button & global switch
Diffstat (limited to 'src/components/ProxyGroup.js')
| -rw-r--r-- | src/components/ProxyGroup.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ProxyGroup.js b/src/components/ProxyGroup.js index c000535..ae1fe58 100644 --- a/src/components/ProxyGroup.js +++ b/src/components/ProxyGroup.js @@ -5,7 +5,7 @@ import { ChevronsDown } from 'react-feather'; import cx from 'classnames'; import { connect } from './StateProvider'; -import { getDelay, getProxies, getRtFilterSwitch } from '../store/proxies'; +import { getDelay, getRtFilterSwitch } from '../store/proxies'; import Proxy, { ProxySmall } from './Proxy'; import { SectionNameType } from './shared/Basic'; @@ -124,14 +124,14 @@ const getSortDelay = (d, w) => { const mapState = (s, { all }) => { const delay = getDelay(s); - const filterError = getRtFilterSwitch(s); + const filterByRt = getRtFilterSwitch(s); const groupList = []; const proxyList = []; let clonelist = [...all]; - if (filterError) { + if (filterByRt) { const filterList = clonelist.filter(name => { const d = delay[name]; if (d === undefined) { |
