Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-12-04 23:22:56 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-12-04 23:22:56 +0300
commitfcacada1bfcf16be06f76e4879f2a648e3370b53 (patch)
treee781decfd7834bafa318b400c0c2f63f08c7ae39 /web/html/xui/inbounds.html
parent375814da273cd2548c30fc56a86dd74ef5f009c9 (diff)
[bug] fix remained traffic display
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/inbounds.html')
-rw-r--r--web/html/xui/inbounds.html2
1 files changed, 1 insertions, 1 deletions
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) {