fix: proxy list error

This commit is contained in:
GyDi 2022-02-09 02:02:29 +08:00
parent c53fe0ed1f
commit 73758ad1fd
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -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(() => {