Skip to content
Snippets Groups Projects
Unverified Commit 6423a296 authored by Shun Li's avatar Shun Li Committed by GitHub
Browse files

feat: add chains[0] and process to connections display (#205)

* add chains[0] display

* add metadata.process to connections
parent 8bddf30d
No related branches found
No related tags found
No related merge requests found
......@@ -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 && (
......
......@@ -67,6 +67,7 @@ declare namespace ApiType {
sourcePort: string;
destinationPort: string;
destinationIP?: string;
process?: string;
};
upload: number;
download: number;
......
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