diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-12-04 23:22:56 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-12-04 23:22:56 +0300 |
| commit | fcacada1bfcf16be06f76e4879f2a648e3370b53 (patch) | |
| tree | e781decfd7834bafa318b400c0c2f63f08c7ae39 /web/html/xui | |
| parent | 375814da273cd2548c30fc56a86dd74ef5f009c9 (diff) | |
[bug] fix remained traffic display
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/inbounds.html | 2 |
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) { |
