Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix: proxy list error
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi committed Feb 8, 2022
1 parent c53fe0e commit 73758ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/proxies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 73758ad

Please sign in to comment.