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

fix: direct mode hide proxies

parent c51e9e6b
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ import { useVerge } from "@/hooks/use-verge"; ...@@ -12,6 +12,7 @@ import { useVerge } from "@/hooks/use-verge";
import { useRenderList } from "./use-render-list"; import { useRenderList } from "./use-render-list";
import { ProxyRender } from "./proxy-render"; import { ProxyRender } from "./proxy-render";
import delayManager from "@/services/delay"; import delayManager from "@/services/delay";
import { BaseEmpty } from "../base";
interface Props { interface Props {
mode: string; mode: string;
...@@ -103,6 +104,10 @@ export const ProxyGroups = (props: Props) => { ...@@ -103,6 +104,10 @@ export const ProxyGroups = (props: Props) => {
} }
}; };
if (mode === "direct") {
return <BaseEmpty text="Direct Mode" />;
}
return ( return (
<Virtuoso <Virtuoso
ref={virtuosoRef} ref={virtuosoRef}
......
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