From fcacada1bfcf16be06f76e4879f2a648e3370b53 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 4 Dec 2023 23:52:56 +0330 Subject: [PATCH] [bug] fix remained traffic display Co-Authored-By: Alireza Ahmadi --- web/html/xui/inbounds.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 0e08f9d7..5608b3be 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1109,7 +1109,7 @@ if (email.length == 0) return 0; clientStats = dbInbound.clientStats.find(stats => stats.email === email); if (!clientStats) return 0; - remained = clientStats.totalGB - (clientStats.up + clientStats.down); + remained = clientStats.total - (clientStats.up + clientStats.down); return remained>0 ? remained : 0; }, clientStatsColor(dbInbound, email) {