feat: Show current proxy for group node

#444
This commit is contained in:
MystiPanda
2024-02-24 13:09:53 +08:00
parent 56011d37d4
commit 8619bd5be3
2 changed files with 39 additions and 2 deletions

View File

@@ -100,7 +100,9 @@ export const ProxyItem = (props: Props) => {
secondary={
<>
<span style={{ marginRight: 4 }}>{proxy.name}</span>
{showType && proxy.now && (
<TypeBox component="span">{proxy.now}</TypeBox>
)}
{showType && !!proxy.provider && (
<TypeBox component="span">{proxy.provider}</TypeBox>
)}