mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 19:05:41 +08:00
feat: add chains[0] and process to connections display (#205)
* add chains[0] display * add metadata.process to connections
This commit is contained in:
1 parent
186a922d06
commit
6038a36532
2 files changed
+5
No files matched your search
@@ -48,8 +48,12 @@ const ConnectionItem = (props: Props) => {
|
||||
|
||||
<Tag>{metadata.type}</Tag>
|
||||
|
||||
{metadata.process && <Tag>{metadata.process}</Tag>}
|
||||
|
||||
{chains.length > 0 && <Tag>{chains[value.chains.length - 1]}</Tag>}
|
||||
|
||||
{chains.length > 0 && <Tag>{chains[0]}</Tag>}
|
||||
|
||||
<Tag>{dayjs(start).fromNow()}</Tag>
|
||||
|
||||
{showTraffic && (
|
||||
|
||||
Vendored
+1
@@ -67,6 +67,7 @@ declare namespace ApiType {
|
||||
sourcePort: string;
|
||||
destinationPort: string;
|
||||
destinationIP?: string;
|
||||
process?: string;
|
||||
};
|
||||
upload: number;
|
||||
download: number;
|
||||
|
||||
Reference in new issue
Block a user