diff --git a/src/pages/proxies.tsx b/src/pages/proxies.tsx
index 767b360189a14c152996539b8cfc6150fb202601..d9d5d21e3b4ae567324049cc28c721f54245c729 100644
--- a/src/pages/proxies.tsx
+++ b/src/pages/proxies.tsx
@@ -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(() => {