feat: add chains[0] and process to connections display (#205)
* add chains[0] display * add metadata.process to connections
This commit is contained in:
parent
8bddf30dcf
commit
6423a29600
@ -48,8 +48,12 @@ const ConnectionItem = (props: Props) => {
|
|||||||
|
|
||||||
<Tag>{metadata.type}</Tag>
|
<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[value.chains.length - 1]}</Tag>}
|
||||||
|
|
||||||
|
{chains.length > 0 && <Tag>{chains[0]}</Tag>}
|
||||||
|
|
||||||
<Tag>{dayjs(start).fromNow()}</Tag>
|
<Tag>{dayjs(start).fromNow()}</Tag>
|
||||||
|
|
||||||
{showTraffic && (
|
{showTraffic && (
|
||||||
|
1
src/services/types.d.ts
vendored
1
src/services/types.d.ts
vendored
@ -67,6 +67,7 @@ declare namespace ApiType {
|
|||||||
sourcePort: string;
|
sourcePort: string;
|
||||||
destinationPort: string;
|
destinationPort: string;
|
||||||
destinationIP?: string;
|
destinationIP?: string;
|
||||||
|
process?: string;
|
||||||
};
|
};
|
||||||
upload: number;
|
upload: number;
|
||||||
download: number;
|
download: number;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user