fix: proxy list error
This commit is contained in:
parent
c53fe0ed1f
commit
73758ad1fd
@ -33,7 +33,7 @@ const ProxyPage = () => {
|
||||
}, [proxiesData]);
|
||||
|
||||
const modeList = ["rule", "global", "direct"];
|
||||
const asGroup = curMode === "rule" || !groups.length;
|
||||
const asGroup = curMode === "rule" && groups.length;
|
||||
|
||||
// make sure that fetch the proxies successfully
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user