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