mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
fix: direct mode hide proxies
This commit is contained in:
parent
c51e9e6b2c
commit
d20b745ae5
|
@ -12,6 +12,7 @@ import { useVerge } from "@/hooks/use-verge";
|
|||
import { useRenderList } from "./use-render-list";
|
||||
import { ProxyRender } from "./proxy-render";
|
||||
import delayManager from "@/services/delay";
|
||||
import { BaseEmpty } from "../base";
|
||||
|
||||
interface Props {
|
||||
mode: string;
|
||||
|
@ -103,6 +104,10 @@ export const ProxyGroups = (props: Props) => {
|
|||
}
|
||||
};
|
||||
|
||||
if (mode === "direct") {
|
||||
return <BaseEmpty text="Direct Mode" />;
|
||||
}
|
||||
|
||||
return (
|
||||
<Virtuoso
|
||||
ref={virtuosoRef}
|
||||
|
|
Loading…
Reference in New Issue
Block a user