From b6d50ba6a40028267c91450972e035f7cc5e5a4b Mon Sep 17 00:00:00 2001 From: GyDi Date: Sat, 12 Aug 2023 19:16:20 +0800 Subject: [PATCH] fix: rm debug code --- src/components/connection/connection-table.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/connection/connection-table.tsx b/src/components/connection/connection-table.tsx index 8f7b4b6c1..143bf9f65 100644 --- a/src/components/connection/connection-table.tsx +++ b/src/components/connection/connection-table.tsx @@ -84,9 +84,7 @@ export const ConnectionTable = (props: Props) => { ulSpeed: parseTraffic(each.curUpload).join(" ") + "/s", chains, rule, - process: truncateStr(metadata.process || metadata.processPath)?.repeat( - 10 - ), + process: truncateStr(metadata.process || metadata.processPath), time: dayjs(each.start).fromNow(), source: `${metadata.sourceIP}:${metadata.sourcePort}`, destinationIP: metadata.destinationIP,