From e8d52ca68117373d1c684f68d7d154508010174a Mon Sep 17 00:00:00 2001 From: xishang0128 Date: Sat, 7 Sep 2024 23:08:39 +0800 Subject: [PATCH] adjust logic --- src/renderer/src/components/connections/connection-item.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/connections/connection-item.tsx b/src/renderer/src/components/connections/connection-item.tsx index d79121b..7552e6d 100644 --- a/src/renderer/src/components/connections/connection-item.tsx +++ b/src/renderer/src/components/connections/connection-item.tsx @@ -43,8 +43,8 @@ const ConnectionItem: React.FC = (props) => { {' -> '} {info.metadata.host || info.metadata.sniffHost || - info.metadata.remoteDestination || - info.metadata.destinationIP} + info.metadata.destinationIP || + info.metadata.remoteDestination} {dayjs(info.start).fromNow()}