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

fix: proxy global showType

parent d05d8d6a
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
/>
......
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