From 1735faa1930f5a27390cd14c6fbbf88c6ba12ee0 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 14 Nov 2023 15:23:41 +0100 Subject: [PATCH] [bug] fix remained traffic display #622 --- 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 e75346a7..0d0ecbad 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1112,7 +1112,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) {