From 4c797dc154b2b50f7d2d2bdfd28b7c5e30a78cb4 Mon Sep 17 00:00:00 2001 From: zd <67220210+0zd0@users.noreply.github.com> Date: Tue, 23 Dec 2025 17:43:25 +0300 Subject: fix: display of outbound traffic (#3604) shows the direction of traffic --- web/html/xray.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/xray.html') diff --git a/web/html/xray.html b/web/html/xray.html index 4dacd021..f4d89c84 100644 --- a/web/html/xray.html +++ b/web/html/xray.html @@ -527,10 +527,10 @@ findOutboundTraffic(o) { for (const otraffic of this.outboundsTraffic) { if (otraffic.tag == o.tag) { - return SizeFormatter.sizeFormat(otraffic.up) + ' / ' + SizeFormatter.sizeFormat(otraffic.down); + return `↑ ${SizeFormatter.sizeFormat(otraffic.up)} / ${SizeFormatter.sizeFormat(otraffic.down)} ↓` } } - return SizeFormatter.sizeFormat(0) + ' / ' + SizeFormatter.sizeFormat(0); + return `${SizeFormatter.sizeFormat(0)} / ${SizeFormatter.sizeFormat(0)}` }, findOutboundAddress(o) { serverObj = null; -- cgit v1.2.3