mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 07:13:44 +08:00
fix: proxy global showType
This commit is contained in:
parent
031e2acc63
commit
cd216b0591
@ -28,7 +28,7 @@ const ProxyGlobal = (props: Props) => {
|
||||
|
||||
const { mutate } = useSWRConfig();
|
||||
const [now, setNow] = useState(curProxy || "DIRECT");
|
||||
const [showType, setShowType] = useState(false);
|
||||
const [showType, setShowType] = useState(true);
|
||||
const [showFilter, setShowFilter] = useState(false);
|
||||
const [filterText, setFilterText] = useState("");
|
||||
|
||||
@ -137,6 +137,7 @@ const ProxyGlobal = (props: Props) => {
|
||||
groupName={groupName}
|
||||
proxy={filterProxies[index]}
|
||||
selected={filterProxies[index].name === now}
|
||||
showType={showType}
|
||||
onClick={onChangeProxy}
|
||||
sx={{ py: 0, px: 2 }}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user