Skip to content
Snippets Groups Projects
Unverified Commit 73758ad1 authored by GyDi's avatar GyDi
Browse files

fix: proxy list error

parent c53fe0ed
No related branches found
No related tags found
No related merge requests found
......@@ -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(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment