diff --git a/ui/src/components/EntryListItem/EntryListItem.module.sass b/ui/src/components/EntryListItem/EntryListItem.module.sass index d8e5295d5..5cf3ed227 100644 --- a/ui/src/components/EntryListItem/EntryListItem.module.sass +++ b/ui/src/components/EntryListItem/EntryListItem.module.sass @@ -84,7 +84,14 @@ padding: 4px padding-left: 12px -.port +.tcpInfo font-size: 12px color: $secondary-font-color - margin: 5px + margin-top: 5px + margin-bottom: 5px + +.port + margin-right: 5px + +.ip + margin-left: 5px diff --git a/ui/src/components/EntryListItem/EntryListItem.tsx b/ui/src/components/EntryListItem/EntryListItem.tsx index e9346d6c5..29da5bcdf 100644 --- a/ui/src/components/EntryListItem/EntryListItem.tsx +++ b/ui/src/components/EntryListItem/EntryListItem.tsx @@ -171,7 +171,17 @@ export const EntryItem: React.FC = ({entry, setFocusedEntryId, style }
{ + updateQuery(`src.ip == "${entry.sourceIp}"`) + }} + > + {entry.sourceIp} + + : + { updateQuery(`src.port == "${entry.sourcePort}"`) @@ -199,7 +209,17 @@ export const EntryItem: React.FC = ({entry, setFocusedEntryId, style /> } { + updateQuery(`dst.ip == "${entry.destinationIp}"`) + }} + > + {entry.destinationIp} + + : + { updateQuery(`dst.port == "${entry.destinationPort}"`)