From b892b2640e0e4af777f695ad8179f1facc480be3 Mon Sep 17 00:00:00 2001 From: sagitchu Date: Fri, 3 Apr 2026 16:18:01 +0800 Subject: [PATCH] feat(ui): display tunnel traffic ratio in forward list --- vite-frontend/src/pages/forward.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vite-frontend/src/pages/forward.tsx b/vite-frontend/src/pages/forward.tsx index 4f4a225..33f5dea 100644 --- a/vite-frontend/src/pages/forward.tsx +++ b/vite-frontend/src/pages/forward.tsx @@ -987,9 +987,11 @@ const SortableCompactTableRow = ({ {forward.tunnelName} - - ‾{formatTunnelTrafficRatio(forward.tunnelTrafficRatio)} - + {forward.tunnelTrafficRatio !== undefined && normalizeTunnelTrafficRatio(forward.tunnelTrafficRatio) !== 1 && ( + + {formatTunnelTrafficRatio(forward.tunnelTrafficRatio)} + + )}